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

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: Remove ntp resource cache into a separate CL and removed SyncPromoUI changes. 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.
Elliot Glaysher 2012/03/02 00:23:05 This block is going away and is being moved to the
Ted C 2012/03/08 19:42:08 Hazaa...yay for making my patch smaller. This fil
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