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

Unified Diff: chrome/browser/sync/sync_prefs.cc

Issue 10960057: Enable all registered types by default on Android. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 8 years, 3 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
« no previous file with comments | « chrome/browser/sync/glue/sync_backend_host.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/sync_prefs.cc
diff --git a/chrome/browser/sync/sync_prefs.cc b/chrome/browser/sync/sync_prefs.cc
index 1b7a92fb7200b06fc1783085e00c5807f214aa7d..e841eb35c7aa3ac2caa2361a24a8095044c8ac1d 100644
--- a/chrome/browser/sync/sync_prefs.cc
+++ b/chrome/browser/sync/sync_prefs.cc
@@ -321,11 +321,11 @@ void SyncPrefs::RegisterPreferences() {
0,
PrefService::UNSYNCABLE_PREF);
- // If you've never synced before, or if you're using Chrome OS, all datatypes
- // are on by default.
+ // If you've never synced before, or if you're using Chrome OS or Android,
+ // all datatypes are on by default.
// TODO(nick): Perhaps a better model would be to always default to false,
// and explicitly call SetDataTypes() when the user shows the wizard.
-#if defined(OS_CHROMEOS)
+#if defined(OS_CHROMEOS) || defined(OS_ANDROID)
bool enable_by_default = true;
#else
bool enable_by_default =
« no previous file with comments | « chrome/browser/sync/glue/sync_backend_host.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698