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> | 8 #include <stddef.h> |
9 | 9 |
10 #include <map> | 10 #include <map> |
| 11 #include <memory> |
11 #include <set> | 12 #include <set> |
12 #include <string> | 13 #include <string> |
13 #include <vector> | 14 #include <vector> |
14 | 15 |
15 #include "base/macros.h" | 16 #include "base/macros.h" |
16 #include "components/sessions/core/session_id.h" | 17 #include "components/sessions/core/session_id.h" |
17 #include "components/sessions/core/session_types.h" | 18 #include "components/sessions/core/session_types.h" |
18 #include "components/sync_sessions/synced_session.h" | 19 #include "components/sync_sessions/synced_session.h" |
19 #include "components/sync_sessions/tab_node_pool.h" | 20 #include "components/sync_sessions/tab_node_pool.h" |
20 | 21 |
(...skipping 180 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
201 // The tag for this machine's local session, so we can distinguish the foreign | 202 // The tag for this machine's local session, so we can distinguish the foreign |
202 // sessions. | 203 // sessions. |
203 std::string local_session_tag_; | 204 std::string local_session_tag_; |
204 | 205 |
205 DISALLOW_COPY_AND_ASSIGN(SyncedSessionTracker); | 206 DISALLOW_COPY_AND_ASSIGN(SyncedSessionTracker); |
206 }; | 207 }; |
207 | 208 |
208 } // namespace sync_sessions | 209 } // namespace sync_sessions |
209 | 210 |
210 #endif // COMPONENTS_SYNC_SESSIONS_SYNCED_SESSION_TRACKER_H_ | 211 #endif // COMPONENTS_SYNC_SESSIONS_SYNCED_SESSION_TRACKER_H_ |
OLD | NEW |