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

Unified Diff: components/sync/engine_impl/syncer_util_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/engine_impl/syncer_util.cc ('k') | components/sync/engine_impl/traffic_logger.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/engine_impl/syncer_util_unittest.cc
diff --git a/sync/engine/syncer_util_unittest.cc b/components/sync/engine_impl/syncer_util_unittest.cc
similarity index 92%
rename from sync/engine/syncer_util_unittest.cc
rename to components/sync/engine_impl/syncer_util_unittest.cc
index 5bdf15400c2808919830186201ed99e78747255e..0860268f10c938f8475b0e5b4872a4cebd2444ae 100644
--- a/sync/engine/syncer_util_unittest.cc
+++ b/components/sync/engine_impl/syncer_util_unittest.cc
@@ -2,19 +2,19 @@
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
-#include "sync/engine/syncer_util.h"
+#include "components/sync/engine_impl/syncer_util.h"
#include <stdint.h>
#include <memory>
#include "base/rand_util.h"
-#include "sync/internal_api/public/base/unique_position.h"
-#include "sync/internal_api/public/test/test_entry_factory.h"
-#include "sync/protocol/sync.pb.h"
-#include "sync/syncable/mutable_entry.h"
-#include "sync/syncable/syncable_write_transaction.h"
-#include "sync/test/engine/test_directory_setter_upper.h"
+#include "components/sync/base/unique_position.h"
+#include "components/sync/core/test/test_entry_factory.h"
+#include "components/sync/protocol/sync.pb.h"
+#include "components/sync/syncable/mutable_entry.h"
+#include "components/sync/syncable/syncable_write_transaction.h"
+#include "components/sync/test/engine/test_directory_setter_upper.h"
#include "testing/gtest/include/gtest/gtest.h"
namespace syncer {
@@ -28,13 +28,9 @@ class GetUpdatePositionTest : public ::testing::Test {
void TearDown() override { dir_maker_.TearDown(); }
- syncable::Directory* directory() {
- return dir_maker_.directory();
- }
+ syncable::Directory* directory() { return dir_maker_.directory(); }
- TestEntryFactory* entry_factory() {
- return entry_factory_.get();
- }
+ TestEntryFactory* entry_factory() { return entry_factory_.get(); }
GetUpdatePositionTest() {
InitUpdate();
@@ -53,8 +49,8 @@ class GetUpdatePositionTest : public ::testing::Test {
update.set_ctime(100);
update.set_deleted(false);
update.mutable_specifics()->mutable_bookmark()->set_title("Chrome");
- update.mutable_specifics()->mutable_bookmark()->
- set_url("https://www.chrome.com");
+ update.mutable_specifics()->mutable_bookmark()->set_url(
+ "https://www.chrome.com");
}
void InitSuffixIngredients() {
« no previous file with comments | « components/sync/engine_impl/syncer_util.cc ('k') | components/sync/engine_impl/traffic_logger.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698