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

Side by Side Diff: components/sync_sessions/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 unified diff | Download patch
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef COMPONENTS_SYNC_SESSIONS_LOCAL_SESSION_EVENT_ROUTER_H_ 5 #ifndef COMPONENTS_SYNC_SESSIONS_LOCAL_SESSION_EVENT_ROUTER_H_
6 #define COMPONENTS_SYNC_SESSIONS_LOCAL_SESSION_EVENT_ROUTER_H_ 6 #define COMPONENTS_SYNC_SESSIONS_LOCAL_SESSION_EVENT_ROUTER_H_
7 7
8 #include <set> 8 #include <set>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "url/gurl.h" 11 #include "url/gurl.h"
12 12
13 namespace browser_sync { 13 namespace sync_sessions {
14 14
15 class SyncedTabDelegate; 15 class SyncedTabDelegate;
16 16
17 // An interface defining the ways in which local open tab events can interact 17 // An interface defining the ways in which local open tab events can interact
18 // with session sync. All local tab events flow to sync via this interface. 18 // with session sync. All local tab events flow to sync via this interface.
19 // In that way it is analogous to sync changes flowing to the local model 19 // In that way it is analogous to sync changes flowing to the local model
20 // via ProcessSyncChanges, just with a more granular breakdown. 20 // via ProcessSyncChanges, just with a more granular breakdown.
21 class LocalSessionEventHandler { 21 class LocalSessionEventHandler {
22 public: 22 public:
23 virtual ~LocalSessionEventHandler() {} 23 virtual ~LocalSessionEventHandler() {}
(...skipping 27 matching lines...) Expand all
51 virtual void StartRoutingTo(LocalSessionEventHandler* handler) = 0; 51 virtual void StartRoutingTo(LocalSessionEventHandler* handler) = 0;
52 virtual void Stop() = 0; 52 virtual void Stop() = 0;
53 53
54 protected: 54 protected:
55 LocalSessionEventRouter() {} 55 LocalSessionEventRouter() {}
56 56
57 private: 57 private:
58 DISALLOW_COPY_AND_ASSIGN(LocalSessionEventRouter); 58 DISALLOW_COPY_AND_ASSIGN(LocalSessionEventRouter);
59 }; 59 };
60 60
61 } // namespace browser_sync 61 } // namespace sync_sessions
62 62
63 #endif // COMPONENTS_SYNC_SESSIONS_LOCAL_SESSION_EVENT_ROUTER_H_ 63 #endif // COMPONENTS_SYNC_SESSIONS_LOCAL_SESSION_EVENT_ROUTER_H_
OLDNEW
« no previous file with comments | « components/sync_sessions/favicon_cache_unittest.cc ('k') | components/sync_sessions/open_tabs_ui_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698