Index: chrome/browser/sync/chrome_sync_client.cc |
diff --git a/chrome/browser/sync/chrome_sync_client.cc b/chrome/browser/sync/chrome_sync_client.cc |
index d0d6de1a535a2a5a81a2fc0a26ccf4209b0529e5..bad033e0b614a361adb2eae5b601686b7e4d62ab 100644 |
--- a/chrome/browser/sync/chrome_sync_client.cc |
+++ b/chrome/browser/sync/chrome_sync_client.cc |
@@ -346,7 +346,7 @@ ChromeSyncClient::GetSyncableServiceForType(syncer::ModelType type) { |
return app_list::AppListSyncableServiceFactory::GetForProfile(profile_)-> |
AsWeakPtr(); |
#endif |
-#if defined(ENABLE_THEMES) |
+#if !defined(OS_ANDROID) |
case syncer::THEMES: |
return ThemeServiceFactory::GetForProfile(profile_)-> |
GetThemeSyncableService()->AsWeakPtr(); |
@@ -543,7 +543,7 @@ void ChromeSyncClient::RegisterDesktopDataTypes( |
} |
#endif |
-#if defined(ENABLE_THEMES) |
+#if !defined(OS_ANDROID) |
// Theme sync is enabled by default. Register unless explicitly disabled. |
if (!disabled_types.Has(syncer::THEMES)) { |
sync_service->RegisterDataTypeController( |