| 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_DRIVER_TAB_NODE_POOL_H_ | 5 #ifndef COMPONENTS_SYNC_DRIVER_TAB_NODE_POOL_H_ |
| 6 #define COMPONENTS_SYNC_DRIVER_TAB_NODE_POOL_H_ | 6 #define COMPONENTS_SYNC_DRIVER_TAB_NODE_POOL_H_ |
| 7 | 7 |
| 8 #include <map> | 8 #include <map> |
| 9 #include <set> | 9 #include <set> |
| 10 #include <string> | 10 #include <string> |
| 11 | 11 |
| 12 #include "base/basictypes.h" | 12 #include "base/basictypes.h" |
| 13 #include "base/gtest_prod_util.h" | 13 #include "base/gtest_prod_util.h" |
| 14 #include "components/sessions/session_id.h" | 14 #include "components/sessions/core/session_id.h" |
| 15 #include "sync/api/sync_change_processor.h" | 15 #include "sync/api/sync_change_processor.h" |
| 16 | 16 |
| 17 namespace syncer { | 17 namespace syncer { |
| 18 class SyncChangeProcessor; | 18 class SyncChangeProcessor; |
| 19 } | 19 } |
| 20 | 20 |
| 21 namespace browser_sync { | 21 namespace browser_sync { |
| 22 | 22 |
| 23 // A pool for managing free/used tab sync nodes for the *local* session. | 23 // A pool for managing free/used tab sync nodes for the *local* session. |
| 24 // Performs lazy creation of sync nodes when necessary. | 24 // Performs lazy creation of sync nodes when necessary. |
| (...skipping 131 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 156 // The machine tag associated with this tab pool. Used in the title of new | 156 // The machine tag associated with this tab pool. Used in the title of new |
| 157 // sync nodes. | 157 // sync nodes. |
| 158 std::string machine_tag_; | 158 std::string machine_tag_; |
| 159 | 159 |
| 160 DISALLOW_COPY_AND_ASSIGN(TabNodePool); | 160 DISALLOW_COPY_AND_ASSIGN(TabNodePool); |
| 161 }; | 161 }; |
| 162 | 162 |
| 163 } // namespace browser_sync | 163 } // namespace browser_sync |
| 164 | 164 |
| 165 #endif // COMPONENTS_SYNC_DRIVER_TAB_NODE_POOL_H_ | 165 #endif // COMPONENTS_SYNC_DRIVER_TAB_NODE_POOL_H_ |
| OLD | NEW |