Chromium Code Reviews
DescriptionSwitch Preferences to use Factory
Update the Preferences mojom to include a PreferencesFactory. This factory will
be responsible for creating a PreferencesManager, and enforcing the binding of
the PreferencesObserver at creation time. Vs the current method which does not
guarantee this.
Chrome will no longer expose PreferencesManager as a service directly. Ash has
been updated to connect to the factory. PrefObserverStore has been updated to
receive the factory and to bind to the manager this way.
TEST=manual testing, preferences_unittests
BUG=674140
Review-Url: https://codereview.chromium.org/2635093002
Cr-Commit-Position: refs/heads/master@{#444832}
Committed: https://chromium.googlesource.com/chromium/src/+/016032b4d15cd6583a5249c10d59c4de854a2b03
Patch Set 1 #Patch Set 2 : Remove AddObserver api #Patch Set 3 : Remove old constructor #Patch Set 4 : docs #
Total comments: 2
Patch Set 5 : dcheck for bound #
Total comments: 4
Patch Set 6 : Rebase #Patch Set 7 : Missed test #
Total comments: 2
Messages
Total messages: 22 (7 generated)
|