Index: chrome/browser/sync/profile_sync_factory_impl.cc |
diff --git a/chrome/browser/sync/profile_sync_factory_impl.cc b/chrome/browser/sync/profile_sync_factory_impl.cc |
index 9188f7ff8c3c0318d04860b1cc2cdac174c1120f..2aa811e9837e53ac3cd8e5c47be25f3647135718 100644 |
--- a/chrome/browser/sync/profile_sync_factory_impl.cc |
+++ b/chrome/browser/sync/profile_sync_factory_impl.cc |
@@ -147,7 +147,7 @@ void ProfileSyncFactoryImpl::RegisterDataTypes(ProfileSyncService* pss) { |
// TypedUrl sync is disabled by default. Register only if |
// explicitly enabled, and if saving history is not disabled. |
if (!profile_->GetPrefs()->GetBoolean(prefs::kSavingBrowserHistoryDisabled) && |
- command_line_->HasSwitch(switches::kEnableSyncTypedUrls)) { |
+ !command_line_->HasSwitch(switches::kDisableSyncTypedUrls)) { |
pss->RegisterDataTypeController( |
new TypedUrlDataTypeController(this, profile_)); |
} |