| OLD | NEW |
| 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/basictypes.h" | |
| 11 #include "base/macros.h" | 10 #include "base/macros.h" |
| 12 #include "url/gurl.h" | 11 #include "url/gurl.h" |
| 13 | 12 |
| 14 namespace browser_sync { | 13 namespace browser_sync { |
| 15 | 14 |
| 16 class SyncedTabDelegate; | 15 class SyncedTabDelegate; |
| 17 | 16 |
| 18 // 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 |
| 19 // 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. |
| 20 // 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 |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 55 protected: | 54 protected: |
| 56 LocalSessionEventRouter() {} | 55 LocalSessionEventRouter() {} |
| 57 | 56 |
| 58 private: | 57 private: |
| 59 DISALLOW_COPY_AND_ASSIGN(LocalSessionEventRouter); | 58 DISALLOW_COPY_AND_ASSIGN(LocalSessionEventRouter); |
| 60 }; | 59 }; |
| 61 | 60 |
| 62 } // namespace browser_sync | 61 } // namespace browser_sync |
| 63 | 62 |
| 64 #endif // COMPONENTS_SYNC_SESSIONS_LOCAL_SESSION_EVENT_ROUTER_H_ | 63 #endif // COMPONENTS_SYNC_SESSIONS_LOCAL_SESSION_EVENT_ROUTER_H_ |
| OLD | NEW |