summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-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));
}