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

Unified Diff: chrome/browser/prefs/browser_prefs.cc

Issue 2772313004: [ash-md] WIP Added wallpaper color caching. (Closed)
Patch Set: "Working'ish" prototype Created 3 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/prefs/browser_prefs.cc
diff --git a/chrome/browser/prefs/browser_prefs.cc b/chrome/browser/prefs/browser_prefs.cc
index 4a6504deb9387bcc47c3bae97c614fbfa5349988..cc7c8297efbbf7a9bc1487fe99c3e9a684f45b85 100644
--- a/chrome/browser/prefs/browser_prefs.cc
+++ b/chrome/browser/prefs/browser_prefs.cc
@@ -230,6 +230,7 @@
#include "components/invalidation/impl/invalidator_storage.h"
#include "components/onc/onc_pref_names.h"
#include "components/quirks/quirks_manager.h"
+#include "components/wallpaper/pref_based_wallpaper_color_cache.h"
#else
#include "chrome/browser/extensions/default_apps.h"
#endif
@@ -435,6 +436,9 @@ void RegisterLocalState(PrefRegistrySimple* registry) {
policy::PolicyCertServiceFactory::RegisterPrefs(registry);
quirks::QuirksManager::RegisterPrefs(registry);
+ // TODO(bruthig): Is this the right place to register prefs?
+ wallpaper::PrefBasedWallpaperColorCache::RegisterPrefs(registry);
jonross 2017/03/28 14:33:27 I would merge this with WallpaperManagerBase::Regi
+
// Moved to profile prefs, but we still need to register the prefs in local
// state until migration is complete (See MigrateObsoleteBrowserPrefs()).
chromeos::system::InputDeviceSettings::RegisterProfilePrefs(registry);

Powered by Google App Engine
This is Rietveld 408576698