diff options
author | tim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-19 02:07:08 +0000 |
---|---|---|
committer | tim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2010-06-19 02:07:08 +0000 |
commit | af40ae6d29e00fcb4bae06a433b30fdf6f01d217 (patch) | |
tree | 09d79d7e5d5079346d23b400f1ce0f091d965c80 /chrome/browser/sync | |
parent | cc36245af1ef3d4590a815d2a7133721817fdc6f (diff) | |
download | chromium_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.cc | 7 |
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)); } |