Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(78)

Side by Side Diff: components/sync_sessions/tab_node_pool_unittest.cc

Issue 2401223002: [Sync] Renaming sync/api* to sync/model*. (Closed)
Patch Set: Missed a comment in a DEPS file, and rebasing. Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « components/sync_sessions/tab_node_pool.cc ('k') | components/syncable_prefs/BUILD.gn » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
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 "components/sync_sessions/tab_node_pool.h" 5 #include "components/sync_sessions/tab_node_pool.h"
6 6
7 #include <vector> 7 #include <vector>
8 8
9 #include "components/sync/api/sync_change.h" 9 #include "components/sync/model/sync_change.h"
10 #include "components/sync/protocol/session_specifics.pb.h" 10 #include "components/sync/protocol/session_specifics.pb.h"
11 #include "components/sync/protocol/sync.pb.h" 11 #include "components/sync/protocol/sync.pb.h"
12 #include "testing/gtest/include/gtest/gtest.h" 12 #include "testing/gtest/include/gtest/gtest.h"
13 13
14 namespace sync_sessions { 14 namespace sync_sessions {
15 15
16 class SyncTabNodePoolTest : public testing::Test { 16 class SyncTabNodePoolTest : public testing::Test {
17 protected: 17 protected:
18 SyncTabNodePoolTest() { pool_.SetMachineTag("tag"); } 18 SyncTabNodePoolTest() { pool_.SetMachineTag("tag"); }
19 19
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
253 // kFreeNodesLowWatermark. 253 // kFreeNodesLowWatermark.
254 pool_.FreeTabNode(last_sync_id, &changes); 254 pool_.FreeTabNode(last_sync_id, &changes);
255 EXPECT_FALSE(pool_.Empty()); 255 EXPECT_FALSE(pool_.Empty());
256 EXPECT_TRUE(pool_.Full()); 256 EXPECT_TRUE(pool_.Full());
257 EXPECT_EQ(TabNodePool::kFreeNodesLowWatermark, pool_.Capacity()); 257 EXPECT_EQ(TabNodePool::kFreeNodesLowWatermark, pool_.Capacity());
258 } 258 }
259 259
260 } // namespace 260 } // namespace
261 261
262 } // namespace sync_sessions 262 } // namespace sync_sessions
OLDNEW
« no previous file with comments | « components/sync_sessions/tab_node_pool.cc ('k') | components/syncable_prefs/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698