| 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 7ba2c52abc803d5590897c6ddf59453c0e8c3562..062bd77021b35f31857909595aee3ddad53d7c80 100644
|
| --- a/chrome/browser/sync/profile_sync_factory_impl.cc
|
| +++ b/chrome/browser/sync/profile_sync_factory_impl.cc
|
| @@ -135,9 +135,9 @@ ProfileSyncService* ProfileSyncFactoryImpl::CreateProfileSyncService() {
|
| new TypedUrlDataTypeController(this, profile_, pss));
|
| }
|
|
|
| - // Session sync is enabled by default. Register unless explicitly
|
| - // disabled.
|
| - if (!command_line_->HasSwitch(switches::kDisableSyncSessions)) {
|
| + // Session sync is disabled by default. Register only if explicitly
|
| + // enabled.
|
| + if (command_line_->HasSwitch(switches::kEnableSyncSessions)) {
|
| pss->RegisterDataTypeController(
|
| new SessionDataTypeController(this, pss));
|
| }
|
|
|