summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync
diff options
context:
space:
mode:
authordantasse@chromium.org <dantasse@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-01 20:40:36 +0000
committerdantasse@chromium.org <dantasse@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-07-01 20:40:36 +0000
commit6583b348dc259ff286fd48a36ca967d11ab2a3f1 (patch)
tree930ae6932d4a3385c3c99abc50bb764a87f548d1 /chrome/browser/sync
parentd2b6af67c8b45e2c3a85d3b4ea51fd5748ea76d2 (diff)
downloadchromium_src-6583b348dc259ff286fd48a36ca967d11ab2a3f1.zip
chromium_src-6583b348dc259ff286fd48a36ca967d11ab2a3f1.tar.gz
chromium_src-6583b348dc259ff286fd48a36ca967d11ab2a3f1.tar.bz2
Make Keep Everything Synced = true by default
BUG=47756 TEST=start up chrome with a new User Data Dir. Set up sync -> enter username/pw. On the "choose data types" screen that comes next, the "keep everything synced" radio button should be selected. Review URL: http://codereview.chromium.org/2854030 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@51423 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync')
-rw-r--r--chrome/browser/sync/profile_sync_service.cc4
1 files changed, 3 insertions, 1 deletions
diff --git a/chrome/browser/sync/profile_sync_service.cc b/chrome/browser/sync/profile_sync_service.cc
index 4f1d36b..8cae226f 100644
--- a/chrome/browser/sync/profile_sync_service.cc
+++ b/chrome/browser/sync/profile_sync_service.cc
@@ -194,7 +194,6 @@ void ProfileSyncService::RegisterPreferences() {
return;
pref_service->RegisterInt64Pref(prefs::kSyncLastSyncedTime, 0);
pref_service->RegisterBooleanPref(prefs::kSyncHasSetupCompleted, false);
- pref_service->RegisterBooleanPref(prefs::kKeepEverythingSynced, false);
// If you've never synced before, or if you're using Chrome OS, all datatypes
// are on by default.
@@ -214,6 +213,9 @@ void ProfileSyncService::RegisterPreferences() {
pref_service->RegisterBooleanPref(prefs::kSyncThemes, enable_by_default);
pref_service->RegisterBooleanPref(prefs::kSyncTypedUrls, enable_by_default);
pref_service->RegisterBooleanPref(prefs::kSyncExtensions, enable_by_default);
+
+ pref_service->RegisterBooleanPref(prefs::kKeepEverythingSynced,
+ enable_by_default);
}
void ProfileSyncService::ClearPreferences() {