Issue metadata
Sign in to add a comment
|
Put back DCHECK in overlay_user_pref_store.cc when incognito prefs are fixed |
||||||||||||||||||||||||
Issue descriptionhttps://chromium-review.googlesource.com/c/chromium/src/+/634329 causes the DCHECK below, but otherwise works fine. I commented out the DCHECK. [178953:178953:0821/150928.521924:FATAL:overlay_user_pref_store.cc(84)] Check failed: ShallBeStoredInOverlay(key) || !overlay_->GetValue(key, NULL). #0 0x7efe84d88b4c base::debug::StackTrace::StackTrace() #1 0x7efe84dae05c logging::LogMessage::~LogMessage() #2 0x7efe80964c3f OverlayUserPrefStore::GetValue() #3 0x7efe80970ac3 PrefValueStore::GetValueFromStoreWithType() #4 0x7efe80970a2d PrefValueStore::GetValue() #5 0x7efe8096bb7b PrefService::GetPreferenceValue() #6 0x7efe8096b8e2 PrefService::GetBoolean() #7 0x7efe7f921a16 ash::AccessibilityController::IsLargeCursorEnabled() #8 0x7efe7fa0d5f6 ash::(anonymous namespace)::GetAccessibilityState() #9 0x7efe7fa0d879 ash::TrayAccessibility::GetInitialVisibility() #10 0x7efe7fa0dc60 ash::TrayAccessibility::OnAccessibilityStatusChanged() #11 0x7efe7fa00184 ash::SystemTrayNotifier::NotifyAccessibilityStatusChanged() #12 0x557b998319ec chromeos::AccessibilityManager::SetProfile() #13 0x7f6e1ca14489 content::NotificationServiceImpl::Notify() #14 0x557b9afe8aa0 chromeos::SigninScreenHandler::HandleLoginVisible() https://chromium-review.googlesource.com/c/chromium/src/+/624772 will fix it, and we can put back the DCHECK.
,
Sep 4 2017
The following revision refers to this bug: https://chromium.googlesource.com/chromium/src.git/+/aa67d7f217d35c97787c140caf0c3e22643f7b08 commit aa67d7f217d35c97787c140caf0c3e22643f7b08 Author: Sam McNally <sammc@chromium.org> Date: Mon Sep 04 03:34:06 2017 Pref service: fix incognito support. When creating a PrefService for incognito, the delegate holds onto the underlay and the OverlayUserPrefStore (the composite view of incognito prefs). Thus, clients observe all prefs being present in the overlay, causing DCHECK failures. Bind the PersistentPrefStoreImpls directly to the underlay and overlay PrefStores so pref service clients observe prefs in the corresponding pref stores as chrome. Pass the list of overlayed prefs to clients (filtered to the prefs they observe) so they can correctly overlay. Add unit tests for pref service with incognito prefs. Change-Id: Iced63b840b682b6958d97853678ab9163c291f0c Bug: 654988 , 761123 Reviewed-on: https://chromium-review.googlesource.com/624772 Commit-Queue: Sam McNally <sammc@chromium.org> Reviewed-by: Chris Palmer <palmer@chromium.org> Reviewed-by: Noel Gordon <noel@chromium.org> Reviewed-by: Bernhard Bauer <bauerb@chromium.org> Cr-Commit-Position: refs/heads/master@{#499432} [modify] https://crrev.com/aa67d7f217d35c97787c140caf0c3e22643f7b08/components/prefs/overlay_user_pref_store.cc [modify] https://crrev.com/aa67d7f217d35c97787c140caf0c3e22643f7b08/components/prefs/pref_value_store.h [modify] https://crrev.com/aa67d7f217d35c97787c140caf0c3e22643f7b08/components/sync_preferences/pref_service_syncable.cc [modify] https://crrev.com/aa67d7f217d35c97787c140caf0c3e22643f7b08/services/preferences/pref_service_factory_unittest.cc [modify] https://crrev.com/aa67d7f217d35c97787c140caf0c3e22643f7b08/services/preferences/pref_store_manager_impl.cc [modify] https://crrev.com/aa67d7f217d35c97787c140caf0c3e22643f7b08/services/preferences/pref_store_manager_impl.h [modify] https://crrev.com/aa67d7f217d35c97787c140caf0c3e22643f7b08/services/preferences/public/cpp/in_process_service_factory.cc [modify] https://crrev.com/aa67d7f217d35c97787c140caf0c3e22643f7b08/services/preferences/public/cpp/in_process_service_factory.h [modify] https://crrev.com/aa67d7f217d35c97787c140caf0c3e22643f7b08/services/preferences/public/cpp/pref_service_factory.cc [modify] https://crrev.com/aa67d7f217d35c97787c140caf0c3e22643f7b08/services/preferences/public/cpp/pref_service_main.cc [modify] https://crrev.com/aa67d7f217d35c97787c140caf0c3e22643f7b08/services/preferences/public/cpp/pref_service_main.h [modify] https://crrev.com/aa67d7f217d35c97787c140caf0c3e22643f7b08/services/preferences/public/interfaces/preferences.mojom [modify] https://crrev.com/aa67d7f217d35c97787c140caf0c3e22643f7b08/services/preferences/scoped_pref_connection_builder.cc [modify] https://crrev.com/aa67d7f217d35c97787c140caf0c3e22643f7b08/services/preferences/scoped_pref_connection_builder.h
,
Sep 5 2017
,
Sep 5 2017
Thanks for taking care of this in your CL!
,
Jan 22 2018
,
Jan 23 2018
|
|||||||||||||||||||||||||
►
Sign in to add a comment |
|||||||||||||||||||||||||
Comment 1 by bugdroid1@chromium.org
, Sep 1 2017