summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync
diff options
context:
space:
mode:
authortim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-19 02:07:08 +0000
committertim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-19 02:07:08 +0000
commitaf40ae6d29e00fcb4bae06a433b30fdf6f01d217 (patch)
tree09d79d7e5d5079346d23b400f1ce0f091d965c80 /chrome/browser/sync
parentcc36245af1ef3d4590a815d2a7133721817fdc6f (diff)
downloadchromium_src-af40ae6d29e00fcb4bae06a433b30fdf6f01d217.zip
chromium_src-af40ae6d29e00fcb4bae06a433b30fdf6f01d217.tar.gz
chromium_src-af40ae6d29e00fcb4bae06a433b30fdf6f01d217.tar.bz2
Turn autofill sync on by default.
BUG=46952 TEST=open sync customize dialog, note autofill checkbox, sync autofill entries successfully. Review URL: http://codereview.chromium.org/2862020 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50311 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync')
-rw-r--r--chrome/browser/sync/profile_sync_factory_impl.cc7
1 files changed, 3 insertions, 4 deletions
diff --git a/chrome/browser/sync/profile_sync_factory_impl.cc b/chrome/browser/sync/profile_sync_factory_impl.cc
index f0d698f..b70d112 100644
--- a/chrome/browser/sync/profile_sync_factory_impl.cc
+++ b/chrome/browser/sync/profile_sync_factory_impl.cc
@@ -79,10 +79,9 @@ ProfileSyncService* ProfileSyncFactoryImpl::CreateProfileSyncService() {
network_change_notifier_thread_,
browser_defaults::kBootstrapSyncAuthentication);
- // Autofill sync is disabled by default.
- // TODO(nick): Autofill is force-disabled due to bad user experience; re-
- // enabled once fixed.
- if (command_line_->HasSwitch(switches::kEnableSyncAutofill)) {
+ // Autofill sync is enabled by default. Register unless explicitly
+ // disabled.
+ if (!command_line_->HasSwitch(switches::kDisableSyncAutofill)) {
pss->RegisterDataTypeController(
new AutofillDataTypeController(this, profile_, pss));
}