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

Unified Diff: ios/chrome/browser/sync/sessions/ios_chrome_local_session_event_router.h

Issue 2343463003: [Sync] Fix namespaces for the sync_sessions component. (Closed)
Patch Set: Fix gn. 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: ios/chrome/browser/sync/sessions/ios_chrome_local_session_event_router.h
diff --git a/ios/chrome/browser/sync/sessions/ios_chrome_local_session_event_router.h b/ios/chrome/browser/sync/sessions/ios_chrome_local_session_event_router.h
index 63b0a6f67ca4f0cbd82fc84881a62d77ea76bbd6..18679e32bd995a43ab293ce20dccedd36c888946 100644
--- a/ios/chrome/browser/sync/sessions/ios_chrome_local_session_event_router.h
+++ b/ios/chrome/browser/sync/sessions/ios_chrome_local_session_event_router.h
@@ -2,8 +2,8 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#ifndef IOS_CHROME_BROWSER_SYNC_SESSIONS_IOS_CHROME_LOCAL_EVENT_SESSION_ROUTER_H_
-#define IOS_CHROME_BROWSER_SYNC_SESSIONS_IOS_CHROME_LOCAL_EVENT_SESSION_ROUTER_H_
+#ifndef IOS_CHROME_BROWSER_SYNC_SESSIONS_IOS_CHROME_LOCAL_SESSION_EVENT_ROUTER_H_
+#define IOS_CHROME_BROWSER_SYNC_SESSIONS_IOS_CHROME_LOCAL_SESSION_EVENT_ROUTER_H_
#include <stddef.h>
@@ -29,7 +29,7 @@ class SyncSessionsClient;
// A LocalEventRouter that drives session sync via observation of
// web::WebState-related events.
class IOSChromeLocalSessionEventRouter
- : public browser_sync::LocalSessionEventRouter,
+ : public sync_sessions::LocalSessionEventRouter,
public web::GlobalWebStateObserver {
public:
IOSChromeLocalSessionEventRouter(
@@ -39,7 +39,8 @@ class IOSChromeLocalSessionEventRouter
~IOSChromeLocalSessionEventRouter() override;
// LocalEventRouter:
- void StartRoutingTo(browser_sync::LocalSessionEventHandler* handler) override;
+ void StartRoutingTo(
+ sync_sessions::LocalSessionEventHandler* handler) override;
void Stop() override;
// web::GlobalWebStateObserver:
@@ -68,7 +69,7 @@ class IOSChromeLocalSessionEventRouter
// and vice versa.
void OnFaviconsChanged(const std::set<GURL>& page_urls, const GURL& icon_url);
- browser_sync::LocalSessionEventHandler* handler_;
+ sync_sessions::LocalSessionEventHandler* handler_;
ios::ChromeBrowserState* const browser_state_;
sync_sessions::SyncSessionsClient* const sessions_client_;
syncer::SyncableService::StartSyncFlare flare_;
@@ -83,4 +84,4 @@ class IOSChromeLocalSessionEventRouter
DISALLOW_COPY_AND_ASSIGN(IOSChromeLocalSessionEventRouter);
};
-#endif // IOS_CHROME_BROWSER_SYNC_SESSIONS_IOS_CHROME_LOCAL_EVENT_SESSION_ROUTER_H_
+#endif // IOS_CHROME_BROWSER_SYNC_SESSIONS_IOS_CHROME_LOCAL_SESSION_EVENT_ROUTER_H_

Powered by Google App Engine
This is Rietveld 408576698