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

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

Issue 2343463003: [Sync] Fix namespaces for the sync_sessions component. (Closed)
Patch Set: Fix Android. Created 4 years, 3 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 d4a2feec6c080ef33ce8b318bae85a50aad6757f..d1cf812b9908fce4f275634b496870ce3d5f7a95 100644
--- a/chrome/browser/sync/sessions/notification_service_sessions_router.h
+++ b/chrome/browser/sync/sessions/notification_service_sessions_router.h
@@ -5,6 +5,7 @@
#ifndef CHROME_BROWSER_SYNC_SESSIONS_NOTIFICATION_SERVICE_SESSIONS_ROUTER_H_
#define CHROME_BROWSER_SYNC_SESSIONS_NOTIFICATION_SERVICE_SESSIONS_ROUTER_H_
+#include <memory>
#include <set>
#include "base/callback_list.h"
@@ -30,7 +31,7 @@ namespace browser_sync {
// A SessionsSyncManager::LocalEventRouter that drives session sync via
// the NotificationService.
class NotificationServiceSessionsRouter
- : public LocalSessionEventRouter,
+ : public sync_sessions::LocalSessionEventRouter,
public content::NotificationObserver {
public:
NotificationServiceSessionsRouter(
@@ -46,7 +47,8 @@ class NotificationServiceSessionsRouter
const content::NotificationDetails& details) override;
// SessionsSyncManager::LocalEventRouter implementation.
- void StartRoutingTo(LocalSessionEventHandler* handler) override;
+ void StartRoutingTo(
+ sync_sessions::LocalSessionEventHandler* handler) override;
void Stop() override;
private:
@@ -65,7 +67,7 @@ class NotificationServiceSessionsRouter
void OnFaviconsChanged(const std::set<GURL>& page_urls,
const GURL& icon_url);
- LocalSessionEventHandler* handler_;
+ sync_sessions::LocalSessionEventHandler* handler_;
content::NotificationRegistrar registrar_;
Profile* const profile_;
sync_sessions::SyncSessionsClient* const sessions_client_;

Powered by Google App Engine
This is Rietveld 408576698