OLD | NEW |
1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_TAB_NODE_POOL_H_ | 5 #ifndef COMPONENTS_SYNC_SESSIONS_TAB_NODE_POOL_H_ |
6 #define COMPONENTS_SYNC_SESSIONS_TAB_NODE_POOL_H_ | 6 #define COMPONENTS_SYNC_SESSIONS_TAB_NODE_POOL_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 | 13 |
12 #include "base/basictypes.h" | 14 #include "base/macros.h" |
13 #include "components/sessions/core/session_id.h" | 15 #include "components/sessions/core/session_id.h" |
14 #include "sync/api/sync_change_processor.h" | 16 #include "sync/api/sync_change_processor.h" |
15 | 17 |
16 namespace syncer { | 18 namespace syncer { |
17 class SyncChangeProcessor; | 19 class SyncChangeProcessor; |
18 } | 20 } |
19 | 21 |
20 namespace browser_sync { | 22 namespace browser_sync { |
21 | 23 |
22 // A pool for managing free/used tab sync nodes for the *local* session. | 24 // A pool for managing free/used tab sync nodes for the *local* session. |
(...skipping 130 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
153 // The machine tag associated with this tab pool. Used in the title of new | 155 // The machine tag associated with this tab pool. Used in the title of new |
154 // sync nodes. | 156 // sync nodes. |
155 std::string machine_tag_; | 157 std::string machine_tag_; |
156 | 158 |
157 DISALLOW_COPY_AND_ASSIGN(TabNodePool); | 159 DISALLOW_COPY_AND_ASSIGN(TabNodePool); |
158 }; | 160 }; |
159 | 161 |
160 } // namespace browser_sync | 162 } // namespace browser_sync |
161 | 163 |
162 #endif // COMPONENTS_SYNC_SESSIONS_TAB_NODE_POOL_H_ | 164 #endif // COMPONENTS_SYNC_SESSIONS_TAB_NODE_POOL_H_ |
OLD | NEW |