Chromium Code Reviews| Index: components/browser_sync/profile_sync_components_factory_impl.cc |
| diff --git a/components/browser_sync/profile_sync_components_factory_impl.cc b/components/browser_sync/profile_sync_components_factory_impl.cc |
| index 2c15aafe5be1a671f6dc3fdf146cb500be9ed0ca..809866ef760379c017fd36b7fd0094e173b89767 100644 |
| --- a/components/browser_sync/profile_sync_components_factory_impl.cc |
| +++ b/components/browser_sync/profile_sync_components_factory_impl.cc |
| @@ -282,6 +282,14 @@ void ProfileSyncComponentsFactoryImpl::RegisterCommonDataTypes( |
| base::MakeUnique<UIDataTypeController>(syncer::ARTICLES, error_callback, |
| sync_client_)); |
| } |
| + // Reading list sync is disabled by default. Register only if explicitly |
| + // enabled. |
| + if (!disabled_types.Has(syncer::READING_LIST)) { |
|
jif
2016/11/07 12:30:51
Shouldn't it be:
// Reading list sync is enabled b
Olivier
2016/11/07 18:18:45
Done.
|
| + sync_service->RegisterDataTypeController( |
| + base::MakeUnique<ModelTypeController>( |
| + syncer::READING_LIST, base::Bind(&base::debug::DumpWithoutCrashing), |
| + sync_client_, base::ThreadTaskRunnerHandle::Get())); |
| + } |
| } |
| DataTypeManager* ProfileSyncComponentsFactoryImpl::CreateDataTypeManager( |