Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(3181)

Unified Diff: chrome/browser/sync/sessions/notification_service_sessions_router.h

Issue 1408643002: [Sync] Componentize synced_tab_delegate (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix test broken by rebase Created 5 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync/sessions/notification_service_sessions_router.h
diff --git a/chrome/browser/sync/sessions/notification_service_sessions_router.h b/chrome/browser/sync/sessions/notification_service_sessions_router.h
index 8d0eb32126c42f4ea610ca45ccd3b0db02c63c43..97394c89ab7476c45ee4424a2a2fe87dca38112f 100644
--- a/chrome/browser/sync/sessions/notification_service_sessions_router.h
+++ b/chrome/browser/sync/sessions/notification_service_sessions_router.h
@@ -20,6 +20,10 @@ namespace content {
class WebContents;
}
+namespace sync_sessions {
+class SyncSessionsClient;
+}
+
namespace browser_sync {
// A SessionsSyncManager::LocalEventRouter that drives session sync via
@@ -30,6 +34,7 @@ class NotificationServiceSessionsRouter
public:
NotificationServiceSessionsRouter(
Profile* profile,
+ sync_sessions::SyncSessionsClient* sessions_client_,
const syncer::SyncableService::StartSyncFlare& flare);
~NotificationServiceSessionsRouter() override;
@@ -62,6 +67,7 @@ class NotificationServiceSessionsRouter
LocalSessionEventHandler* handler_;
content::NotificationRegistrar registrar_;
Profile* const profile_;
+ sync_sessions::SyncSessionsClient* const sessions_client_;
syncer::SyncableService::StartSyncFlare flare_;
scoped_ptr<base::CallbackList<void(const std::set<GURL>&,

Powered by Google App Engine
This is Rietveld 408576698