| 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 afd8ae2a73800f83d926b0af4008c3bc80f1123e..52627d5cf6df4a1da29743ae97620b3a2eb437df 100644
|
| --- a/chrome/browser/sync/profile_sync_components_factory_impl.cc
|
| +++ b/chrome/browser/sync/profile_sync_components_factory_impl.cc
|
| @@ -314,6 +314,15 @@ void ProfileSyncComponentsFactoryImpl::RegisterCommonDataTypes(
|
| new PasswordDataTypeController(this, profile_));
|
| }
|
|
|
| + if (!disabled_types.Has(syncer::PRIORITY_PREFERENCES)) {
|
| + pss->RegisterDataTypeController(
|
| + new UIDataTypeController(
|
| + BrowserThread::GetMessageLoopProxyForThread(BrowserThread::UI),
|
| + base::Bind(&ChromeReportUnrecoverableError),
|
| + syncer::PRIORITY_PREFERENCES,
|
| + this));
|
| + }
|
| +
|
| // Article sync is disabled by default. Register only if explicitly enabled.
|
| if (IsEnableSyncArticlesSet()) {
|
| pss->RegisterDataTypeController(
|
| @@ -369,15 +378,6 @@ void ProfileSyncComponentsFactoryImpl::RegisterDesktopDataTypes(
|
| this));
|
| }
|
|
|
| - if (!disabled_types.Has(syncer::PRIORITY_PREFERENCES)) {
|
| - pss->RegisterDataTypeController(
|
| - new UIDataTypeController(
|
| - BrowserThread::GetMessageLoopProxyForThread(BrowserThread::UI),
|
| - base::Bind(&ChromeReportUnrecoverableError),
|
| - syncer::PRIORITY_PREFERENCES,
|
| - this));
|
| - }
|
| -
|
| #if defined(ENABLE_THEMES)
|
| // Theme sync is enabled by default. Register unless explicitly disabled.
|
| if (!disabled_types.Has(syncer::THEMES)) {
|
|
|