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

Unified Diff: components/sync_sessions/sync_sessions_client.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
« no previous file with comments | « components/sync_sessions/sessions_sync_manager.cc ('k') | components/sync_sessions/sync_sessions_metrics.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync_sessions/sync_sessions_client.h
diff --git a/components/sync_sessions/sync_sessions_client.h b/components/sync_sessions/sync_sessions_client.h
index 9d53cd781aef5da10a859c279d5d6c4e31e1e26a..fab928ffefff195f01f670b101cb9d694efa1941 100644
--- a/components/sync_sessions/sync_sessions_client.h
+++ b/components/sync_sessions/sync_sessions_client.h
@@ -15,11 +15,6 @@ namespace bookmarks {
class BookmarkModel;
}
-namespace browser_sync {
-class LocalSessionEventRouter;
-class SyncedWindowDelegatesGetter;
-}
-
namespace favicon {
class FaviconService;
}
@@ -30,6 +25,9 @@ class HistoryService;
namespace sync_sessions {
+class LocalSessionEventRouter;
+class SyncedWindowDelegatesGetter;
+
// Interface for clients of a sync sessions datatype. Should be used as a getter
// for services and data the Sync Sessions datatype depends on.
class SyncSessionsClient {
@@ -50,12 +48,11 @@ class SyncSessionsClient {
virtual bool ShouldSyncURL(const GURL& url) const = 0;
// Returns the SyncedWindowDelegatesGetter for this client.
- virtual browser_sync::SyncedWindowDelegatesGetter*
- GetSyncedWindowDelegatesGetter() = 0;
+ virtual SyncedWindowDelegatesGetter* GetSyncedWindowDelegatesGetter() = 0;
// Returns a LocalSessionEventRouter instance that is customized for the
// embedder's context.
- virtual std::unique_ptr<browser_sync::LocalSessionEventRouter>
+ virtual std::unique_ptr<LocalSessionEventRouter>
GetLocalSessionEventRouter() = 0;
// TODO(zea): add getters for the history and favicon services for the favicon
« no previous file with comments | « components/sync_sessions/sessions_sync_manager.cc ('k') | components/sync_sessions/sync_sessions_metrics.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698