OLD | NEW |
1 // Copyright 2012 The Chromium Authors. All rights reserved. | 1 // Copyright 2012 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_SYNCED_SESSION_TRACKER_H_ | 5 #ifndef COMPONENTS_SYNC_SESSIONS_SYNCED_SESSION_TRACKER_H_ |
6 #define COMPONENTS_SYNC_SESSIONS_SYNCED_SESSION_TRACKER_H_ | 6 #define COMPONENTS_SYNC_SESSIONS_SYNCED_SESSION_TRACKER_H_ |
7 | 7 |
| 8 #include <stddef.h> |
| 9 |
8 #include <map> | 10 #include <map> |
9 #include <set> | 11 #include <set> |
10 #include <string> | 12 #include <string> |
11 #include <vector> | 13 #include <vector> |
12 | 14 |
13 #include "base/basictypes.h" | 15 #include "base/macros.h" |
14 #include "components/sessions/core/session_id.h" | 16 #include "components/sessions/core/session_id.h" |
15 #include "components/sessions/core/session_types.h" | 17 #include "components/sessions/core/session_types.h" |
16 #include "components/sync_sessions/synced_session.h" | 18 #include "components/sync_sessions/synced_session.h" |
17 #include "components/sync_sessions/tab_node_pool.h" | 19 #include "components/sync_sessions/tab_node_pool.h" |
18 | 20 |
19 namespace sync_sessions { | 21 namespace sync_sessions { |
20 class SyncSessionsClient; | 22 class SyncSessionsClient; |
21 } | 23 } |
22 | 24 |
23 namespace browser_sync { | 25 namespace browser_sync { |
(...skipping 230 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
254 // The tag for this machine's local session, so we can distinguish the foreign | 256 // The tag for this machine's local session, so we can distinguish the foreign |
255 // sessions. | 257 // sessions. |
256 std::string local_session_tag_; | 258 std::string local_session_tag_; |
257 | 259 |
258 DISALLOW_COPY_AND_ASSIGN(SyncedSessionTracker); | 260 DISALLOW_COPY_AND_ASSIGN(SyncedSessionTracker); |
259 }; | 261 }; |
260 | 262 |
261 } // namespace browser_sync | 263 } // namespace browser_sync |
262 | 264 |
263 #endif // COMPONENTS_SYNC_SESSIONS_SYNCED_SESSION_TRACKER_H_ | 265 #endif // COMPONENTS_SYNC_SESSIONS_SYNCED_SESSION_TRACKER_H_ |
OLD | NEW |