Chromium Code Reviews
DescriptionGet rid of sync_preferences::SyncedPrefObserver inheritance.
ArcSessionManager inherits SyncedPrefObserver, but it is not
used now, because kArcEnabled is not sync pref.
The callback is called from OnOptInPreferenceChanged() only,
so this CL inlines the function to there.
This is preparation to extract preference handling from
ArcSessionManager into a dedicated class.
BUG=657687
BUG=b/31079732
TEST=Ran bots. Made sure "removing pinned icon from shelf" works manually.
Review-Url: https://codereview.chromium.org/2683613002
Cr-Commit-Position: refs/heads/master@{#448878}
Committed: https://chromium.googlesource.com/chromium/src/+/32e8ee260dfbd9c3da830f2c9cde9eddadfaf40f
Patch Set 1 #
Total comments: 1
Messages
Total messages: 14 (8 generated)
|
|||||||||||||||||||||||||||||||||||||