Index: chrome/browser/sync/profile_sync_components_factory_impl.cc |
diff --git a/chrome/browser/sync/profile_sync_components_factory_impl.cc b/chrome/browser/sync/profile_sync_components_factory_impl.cc |
index 752ebaf06a056f065b49294784e82216289daee3..e662a3db651bd7aea44babd2ba9c5124a4336110 100644 |
--- a/chrome/browser/sync/profile_sync_components_factory_impl.cc |
+++ b/chrome/browser/sync/profile_sync_components_factory_impl.cc |
@@ -237,12 +237,13 @@ void ProfileSyncComponentsFactoryImpl::RegisterDesktopDataTypes( |
syncer::HISTORY_DELETE_DIRECTIVES, this, profile_, pss)); |
} |
- // Dictionary sync is disabled by default. Register only if explicitly |
- // enabled. |
- if (command_line_->HasSwitch(switches::kEnableSyncDictionary)) { |
+#if defined(OS_LINUX) || defined(OS_WIN) || defined(OS_CHROMEOS) |
+ // Dictionary sync is enabled by default. |
+ if (!command_line_->HasSwitch(switches::kDisableSyncDictionary)) { |
pss->RegisterDataTypeController( |
new UIDataTypeController(syncer::DICTIONARY, this, profile_, pss)); |
} |
+#endif |
} |
DataTypeManager* ProfileSyncComponentsFactoryImpl::CreateDataTypeManager( |