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

Unified Diff: components/sync/syncable/parent_child_index_unittest.cc

Issue 2130453004: [Sync] Move //sync to //components/sync. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 5 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « components/sync/syncable/parent_child_index.cc ('k') | components/sync/syncable/scoped_kernel_lock.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/syncable/parent_child_index_unittest.cc
diff --git a/sync/syncable/parent_child_index_unittest.cc b/components/sync/syncable/parent_child_index_unittest.cc
similarity index 98%
rename from sync/syncable/parent_child_index_unittest.cc
rename to components/sync/syncable/parent_child_index_unittest.cc
index 1ef983255c6aebb96ed7196cfb7f76bacf33edfc..dc2cdcd33431436d7223cf605caf5bd66549ec46 100644
--- a/sync/syncable/parent_child_index_unittest.cc
+++ b/components/sync/syncable/parent_child_index_unittest.cc
@@ -2,15 +2,15 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "sync/syncable/parent_child_index.h"
+#include "components/sync/syncable/parent_child_index.h"
#include <list>
#include <string>
#include "base/stl_util.h"
#include "base/strings/string_number_conversions.h"
-#include "sync/syncable/entry_kernel.h"
-#include "sync/syncable/syncable_util.h"
+#include "components/sync/syncable/entry_kernel.h"
+#include "components/sync/syncable/syncable_util.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace syncer {
@@ -93,9 +93,8 @@ class ParentChildIndexTest : public testing::Test {
bm->put(ID, GetBookmarkId(n));
bm->put(PARENT_ID, GetBookmarkRootId());
- bm->put(UNIQUE_BOOKMARK_TAG,
- syncable::GenerateSyncableBookmarkHash(kCacheGuid,
- bm->ref(ID).GetServerId()));
+ bm->put(UNIQUE_BOOKMARK_TAG, syncable::GenerateSyncableBookmarkHash(
+ kCacheGuid, bm->ref(ID).GetServerId()));
UniquePosition unique_pos =
UniquePosition::FromInt64(pos, bm->ref(UNIQUE_BOOKMARK_TAG));
@@ -523,4 +522,3 @@ TEST_F(ParentChildIndexTest, MultipleTypeRootsInverse) {
} // namespace syncable
} // namespace syncer
-
« no previous file with comments | « components/sync/syncable/parent_child_index.cc ('k') | components/sync/syncable/scoped_kernel_lock.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698