summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authortim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-19 02:22:37 +0000
committertim@chromium.org <tim@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-19 02:22:37 +0000
commit69d718cd682a0da7a91c1475fce30cbb25dfacd0 (patch)
tree1e2440bd1e9b7b348da2a2b0335d4ca962ceb470
parentaf40ae6d29e00fcb4bae06a433b30fdf6f01d217 (diff)
downloadchromium_src-69d718cd682a0da7a91c1475fce30cbb25dfacd0.zip
chromium_src-69d718cd682a0da7a91c1475fce30cbb25dfacd0.tar.gz
chromium_src-69d718cd682a0da7a91c1475fce30cbb25dfacd0.tar.bz2
Revert 50311 - 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 TBR=tim@chromium.org Review URL: http://codereview.chromium.org/2816017 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@50312 0039d316-1c4b-4281-b951-d872f2087c98
-rw-r--r--chrome/browser/sync/profile_sync_factory_impl.cc7
1 files changed, 4 insertions, 3 deletions
diff --git a/chrome/browser/sync/profile_sync_factory_impl.cc b/chrome/browser/sync/profile_sync_factory_impl.cc
index b70d112..f0d698f 100644
--- a/chrome/browser/sync/profile_sync_factory_impl.cc
+++ b/chrome/browser/sync/profile_sync_factory_impl.cc
@@ -79,9 +79,10 @@ ProfileSyncService* ProfileSyncFactoryImpl::CreateProfileSyncService() {
network_change_notifier_thread_,
browser_defaults::kBootstrapSyncAuthentication);
- // Autofill sync is enabled by default. Register unless explicitly
- // disabled.
- if (!command_line_->HasSwitch(switches::kDisableSyncAutofill)) {
+ // 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)) {
pss->RegisterDataTypeController(
new AutofillDataTypeController(this, profile_, pss));
}