| Index: chrome/browser/sync/profile_sync_service.cc
|
| diff --git a/chrome/browser/sync/profile_sync_service.cc b/chrome/browser/sync/profile_sync_service.cc
|
| index 66a2ae2b6328101b50647c5ed679e3cc8a5a31b2..ea125c8ecdfc026d5ffeee9b0f4e1ad4a0a1e55d 100644
|
| --- a/chrome/browser/sync/profile_sync_service.cc
|
| +++ b/chrome/browser/sync/profile_sync_service.cc
|
| @@ -50,6 +50,7 @@
|
| #include "chrome/browser/sync/glue/synced_device_tracker.h"
|
| #include "chrome/browser/sync/glue/typed_url_data_type_controller.h"
|
| #include "chrome/browser/sync/profile_sync_components_factory_impl.h"
|
| +#include "chrome/browser/sync/sessions2/notification_service_sessions_router.h"
|
| #include "chrome/browser/sync/sessions2/sessions_sync_manager.h"
|
| #include "chrome/browser/sync/sync_global_error.h"
|
| #include "chrome/browser/sync/user_selectable_sync_type.h"
|
| @@ -93,6 +94,7 @@ using browser_sync::ChangeProcessor;
|
| using browser_sync::DataTypeController;
|
| using browser_sync::DataTypeManager;
|
| using browser_sync::FailedDataTypesHandler;
|
| +using browser_sync::NotificationServiceSessionsRouter;
|
| using browser_sync::SyncBackendHost;
|
| using syncer::ModelType;
|
| using syncer::ModelTypeSet;
|
| @@ -198,7 +200,10 @@ ProfileSyncService::ProfileSyncService(
|
|
|
| if (CommandLine::ForCurrentProcess()->HasSwitch(
|
| switches::kEnableSyncSessionsV2)) {
|
| - sessions_sync_manager_.reset(new SessionsSyncManager(profile, this));
|
| + scoped_ptr<SessionsSyncManager::LocalEventRouter> router(
|
| + new NotificationServiceSessionsRouter(profile));
|
| + sessions_sync_manager_.reset(
|
| + new SessionsSyncManager(profile, this, router.Pass()));
|
| }
|
| }
|
|
|
|
|