Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(588)

Issue 2778643002: Pref service: Filter updates from read-only pref stores. (Closed)

Created:
3 years, 9 months ago by Sam McNally
Modified:
3 years, 8 months ago
CC:
chromium-reviews, qsr+mojo_chromium.org, viettrungluu+watch_chromium.org, yzshen+watch_chromium.org, abarth-chromium, Aaron Boodman, darin (slow to review), chrome-apps-syd-reviews_chromium.org
Target Ref:
refs/heads/master
Project:
chromium
Visibility:
Public.

Description

Pref service: Filter updates from read-only pref stores. This changes prefs::PrefStoreImpl to restrict pref change observations to only the prefs registered by the client and forwards that data from PrefStoreManagerImpl through prefs::mojom::PrefStore::AddObserver() calls. BUG=654988 Review-Url: https://codereview.chromium.org/2778643002 Cr-Commit-Position: refs/heads/master@{#460269} Committed: https://chromium.googlesource.com/chromium/src/+/29914e3f0bc84b0ec570b086a17bc41254f4cc34

Patch Set 1 : #

Total comments: 32

Patch Set 2 : #

Patch Set 3 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+492 lines, -93 lines) Patch
M components/sync_preferences/pref_service_syncable_factory.cc View 1 chunk +2 lines, -3 lines 0 comments Download
M services/preferences/persistent_pref_store_impl_unittest.cc View 1 10 chunks +16 lines, -69 lines 0 comments Download
M services/preferences/pref_service_factory_unittest.cc View 1 8 chunks +79 lines, -1 line 0 comments Download
M services/preferences/pref_store_manager_impl.cc View 4 chunks +14 lines, -7 lines 0 comments Download
M services/preferences/public/cpp/pref_store_client_mixin.cc View 1 1 chunk +1 line, -1 line 0 comments Download
M services/preferences/public/cpp/pref_store_impl.h View 1 1 chunk +6 lines, -3 lines 0 comments Download
M services/preferences/public/cpp/pref_store_impl.cc View 1 4 chunks +43 lines, -5 lines 0 comments Download
M services/preferences/public/cpp/tests/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
A services/preferences/public/cpp/tests/pref_store_impl_unittest.cc View 1 2 1 chunk +325 lines, -0 lines 0 comments Download
M services/preferences/public/interfaces/preferences.mojom View 1 chunk +5 lines, -4 lines 0 comments Download

Depends on Patchset:

Messages

Total messages: 53 (46 generated)
Sam McNally
3 years, 9 months ago (2017-03-27 03:01:46 UTC) #5
tibell
lgtm https://codereview.chromium.org/2778643002/diff/20001/services/preferences/pref_service_factory_unittest.cc File services/preferences/pref_service_factory_unittest.cc (right): https://codereview.chromium.org/2778643002/diff/20001/services/preferences/pref_service_factory_unittest.cc#newcode239 services/preferences/pref_service_factory_unittest.cc:239: below_user_prefs_pref_store()->SetValue( Add: // This update is needed to ...
3 years, 9 months ago (2017-03-27 03:37:56 UTC) #10
Sam McNally
+bauerb for //components/sync_preferences +mbarbella for the mojom https://codereview.chromium.org/2778643002/diff/20001/services/preferences/pref_service_factory_unittest.cc File services/preferences/pref_service_factory_unittest.cc (right): https://codereview.chromium.org/2778643002/diff/20001/services/preferences/pref_service_factory_unittest.cc#newcode239 services/preferences/pref_service_factory_unittest.cc:239: below_user_prefs_pref_store()->SetValue( On ...
3 years, 9 months ago (2017-03-27 06:44:41 UTC) #18
Bernhard Bauer
sync_preferences/ LGTM.
3 years, 9 months ago (2017-03-27 15:06:41 UTC) #25
Martin Barbella
mojom lgtm
3 years, 8 months ago (2017-03-28 16:09:02 UTC) #26
commit-bot: I haz the power
CQ is trying da patch. Follow status at https://chromium-cq-status.appspot.com/v2/patch-status/codereview.chromium.org/2778643002/100001
3 years, 8 months ago (2017-03-29 03:53:01 UTC) #50
commit-bot: I haz the power
3 years, 8 months ago (2017-03-29 03:59:03 UTC) #53
Message was sent while issue was closed.
Committed patchset #3 (id:100001) as
https://chromium.googlesource.com/chromium/src/+/29914e3f0bc84b0ec570b086a17b...

Powered by Google App Engine
This is Rietveld 408576698