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

Issue 2738353002: Pref service: integrate PersistentPrefStoreImpl with PrefStoreManagerImpl. (Closed)

Created:
3 years, 9 months ago by Sam McNally
Modified:
3 years, 9 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/pending/heads/master
Project:
chromium
Visibility:
Public.

Description

Pref service: integrate PersistentPrefStoreImpl with PrefStoreManagerImpl. This adds: - PrefServiceControl: a mojo configuration interface that can be used to control where the pref service persists its user prefs. - CreatePersistentPrefStore: A factory function that builds a PersistentPrefStoreImpl instance based on a configuration struct. This also changes PrefStoreManagerImpl to implement the PrefServiceControl interface and provide access to the PersistentPrefStore interface. BUG=654988 Review-Url: https://codereview.chromium.org/2738353002 Cr-Commit-Position: refs/heads/master@{#456307} Committed: https://chromium.googlesource.com/chromium/src/+/4c08113e52ecd6222a4ae0c3e4ee3676a04a94d5

Patch Set 1 : #

Total comments: 6

Patch Set 2 : #

Unified diffs Side-by-side diffs Delta from patch set Stats (+194 lines, -5 lines) Patch
M chrome/browser/profiles/profile_impl.cc View 1 chunk +2 lines, -1 line 0 comments Download
M services/preferences/BUILD.gn View 1 chunk +2 lines, -0 lines 0 comments Download
M services/preferences/manifest.json View 1 chunk +5 lines, -1 line 0 comments Download
A services/preferences/persistent_pref_store_factory.h View 1 chunk +27 lines, -0 lines 0 comments Download
A services/preferences/persistent_pref_store_factory.cc View 1 chunk +41 lines, -0 lines 0 comments Download
M services/preferences/public/cpp/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M services/preferences/public/cpp/pref_store_manager_impl.h View 1 5 chunks +39 lines, -1 line 0 comments Download
M services/preferences/public/cpp/pref_store_manager_impl.cc View 1 4 chunks +54 lines, -2 lines 0 comments Download
M services/preferences/public/interfaces/BUILD.gn View 1 chunk +1 line, -0 lines 0 comments Download
M services/preferences/public/interfaces/preferences.mojom View 1 2 chunks +7 lines, -0 lines 0 comments Download
A services/preferences/public/interfaces/preferences_configuration.mojom View 1 chunk +15 lines, -0 lines 0 comments Download

Depends on Patchset:

Dependent Patchsets:

Messages

Total messages: 35 (28 generated)
Sam McNally
3 years, 9 months ago (2017-03-10 03:33:47 UTC) #16
tibell
lgtm https://codereview.chromium.org/2738353002/diff/60001/services/preferences/public/cpp/pref_store_manager_impl.cc File services/preferences/public/cpp/pref_store_manager_impl.cc (right): https://codereview.chromium.org/2738353002/diff/60001/services/preferences/public/cpp/pref_store_manager_impl.cc#newcode149 services/preferences/public/cpp/pref_store_manager_impl.cc:149: return; Is this an error condition we want ...
3 years, 9 months ago (2017-03-10 04:20:24 UTC) #17
Sam McNally
+mbarbella for the mojom +mlerman for //chrome/browser/profiles https://codereview.chromium.org/2738353002/diff/60001/services/preferences/public/cpp/pref_store_manager_impl.cc File services/preferences/public/cpp/pref_store_manager_impl.cc (right): https://codereview.chromium.org/2738353002/diff/60001/services/preferences/public/cpp/pref_store_manager_impl.cc#newcode149 services/preferences/public/cpp/pref_store_manager_impl.cc:149: return; On ...
3 years, 9 months ago (2017-03-10 05:06:56 UTC) #21
Mike Lerman
profiles LGTM
3 years, 9 months ago (2017-03-10 14:11:44 UTC) #24
Martin Barbella
mojom lgtm
3 years, 9 months ago (2017-03-10 21:05:06 UTC) #25
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/2738353002/80001
3 years, 9 months ago (2017-03-12 23:32:01 UTC) #32
commit-bot: I haz the power
3 years, 9 months ago (2017-03-12 23:36:23 UTC) #35
Message was sent while issue was closed.
Committed patchset #2 (id:80001) as
https://chromium.googlesource.com/chromium/src/+/4c08113e52ecd6222a4ae0c3e4ee...

Powered by Google App Engine
This is Rietveld 408576698