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

Unified Diff: chrome/browser/profiles/profile.cc

Issue 9515010: Chrome on Android : Begin removing references to themes. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 10 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/profiles/profile.cc
diff --git a/chrome/browser/profiles/profile.cc b/chrome/browser/profiles/profile.cc
index 49437d54705d3385c2f848b9a04f681b1b285f7d..d3c772185eb3ed5bfd38e6212be11d6bc4f71eee 100644
--- a/chrome/browser/profiles/profile.cc
+++ b/chrome/browser/profiles/profile.cc
@@ -127,6 +127,8 @@ void Profile::RegisterUserPrefs(PrefService* prefs) {
prefs->RegisterFilePathPref(prefs::kCurrentThemePackFilename,
FilePath(),
PrefService::UNSYNCABLE_PREF);
+#if !defined(OS_ANDROID)
+ // Themes are not supported in android.
prefs->RegisterStringPref(prefs::kCurrentThemeID,
ThemeService::kDefaultThemeID,
PrefService::UNSYNCABLE_PREF);
@@ -138,6 +140,7 @@ void Profile::RegisterUserPrefs(PrefService* prefs) {
PrefService::UNSYNCABLE_PREF);
prefs->RegisterDictionaryPref(prefs::kCurrentThemeDisplayProperties,
PrefService::UNSYNCABLE_PREF);
+#endif
prefs->RegisterBooleanPref(prefs::kDisableExtensions,
false,
PrefService::UNSYNCABLE_PREF);

Powered by Google App Engine
This is Rietveld 408576698