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 #include "chrome/browser/sync/sessions/tab_node_pool.h" | 5 #include "components/sync_driver/tab_node_pool.h" |
6 | 6 |
7 #include "base/format_macros.h" | 7 #include "base/format_macros.h" |
8 #include "base/logging.h" | 8 #include "base/logging.h" |
9 #include "base/strings/stringprintf.h" | 9 #include "base/strings/stringprintf.h" |
10 #include "sync/api/sync_change.h" | 10 #include "sync/api/sync_change.h" |
11 #include "sync/api/sync_data.h" | 11 #include "sync/api/sync_data.h" |
12 #include "sync/internal_api/public/base/model_type.h" | 12 #include "sync/internal_api/public/base/model_type.h" |
13 #include "sync/protocol/session_specifics.pb.h" | 13 #include "sync/protocol/session_specifics.pb.h" |
14 #include "sync/protocol/sync.pb.h" | 14 #include "sync/protocol/sync.pb.h" |
15 | 15 |
(...skipping 163 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
179 | 179 |
180 bool TabNodePool::Empty() const { return free_nodes_pool_.empty(); } | 180 bool TabNodePool::Empty() const { return free_nodes_pool_.empty(); } |
181 | 181 |
182 bool TabNodePool::Full() { return nodeid_tabid_map_.empty(); } | 182 bool TabNodePool::Full() { return nodeid_tabid_map_.empty(); } |
183 | 183 |
184 void TabNodePool::SetMachineTag(const std::string& machine_tag) { | 184 void TabNodePool::SetMachineTag(const std::string& machine_tag) { |
185 machine_tag_ = machine_tag; | 185 machine_tag_ = machine_tag; |
186 } | 186 } |
187 | 187 |
188 } // namespace browser_sync | 188 } // namespace browser_sync |
OLD | NEW |