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

Side by Side Diff: components/sync/syncable/parent_child_index_unittest.cc

Issue 2388973002: [Sync] Removing duplicate includes, part 2. (Closed)
Patch Set: Update for Max's comments. 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
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 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/syncable/parent_child_index.h" 5 #include "components/sync/syncable/parent_child_index.h"
6 6
7 #include <string> 7 #include <string>
8 #include <vector>
9 8
10 #include "base/memory/ptr_util.h" 9 #include "base/memory/ptr_util.h"
11 #include "base/strings/string_number_conversions.h" 10 #include "base/strings/string_number_conversions.h"
12 #include "components/sync/syncable/entry_kernel.h" 11 #include "components/sync/syncable/entry_kernel.h"
13 #include "components/sync/syncable/syncable_util.h" 12 #include "components/sync/syncable/syncable_util.h"
14 #include "testing/gtest/include/gtest/gtest.h" 13 #include "testing/gtest/include/gtest/gtest.h"
15 14
16 namespace syncer { 15 namespace syncer {
17 namespace syncable { 16 namespace syncable {
18 17
(...skipping 492 matching lines...) Expand 10 before | Expand all | Expand 10 after
511 const OrderedChildSet* children = index_.GetChildren(type_root_id); 510 const OrderedChildSet* children = index_.GetChildren(type_root_id);
512 ASSERT_TRUE(children); 511 ASSERT_TRUE(children);
513 EXPECT_EQ(2UL, children->size()); 512 EXPECT_EQ(2UL, children->size());
514 const OrderedChildSet* children_bad = index_.GetChildren(bad_type_root_id); 513 const OrderedChildSet* children_bad = index_.GetChildren(bad_type_root_id);
515 ASSERT_TRUE(children_bad); 514 ASSERT_TRUE(children_bad);
516 EXPECT_EQ(2UL, children_bad->size()); 515 EXPECT_EQ(2UL, children_bad->size());
517 } 516 }
518 517
519 } // namespace syncable 518 } // namespace syncable
520 } // namespace syncer 519 } // namespace syncer
OLDNEW
« no previous file with comments | « components/sync/syncable/directory_backing_store_unittest.cc ('k') | components/sync_sessions/favicon_cache_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698