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

Unified Diff: chrome/browser/sync/test/integration/two_client_uss_sync_test.cc

Issue 2388673002: Revert of [Sync] Move //components/sync to the syncer namespace. (patchset #5 id:40001 of https://co (Closed)
Patch Set: 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 side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync/test/integration/two_client_uss_sync_test.cc
diff --git a/chrome/browser/sync/test/integration/two_client_uss_sync_test.cc b/chrome/browser/sync/test/integration/two_client_uss_sync_test.cc
index a7fa87574905e8a91dade652ee0f66bf61e0abd2..977df4b1d367daf7d8308d05cb0729262c51381e 100644
--- a/chrome/browser/sync/test/integration/two_client_uss_sync_test.cc
+++ b/chrome/browser/sync/test/integration/two_client_uss_sync_test.cc
@@ -18,10 +18,10 @@
using browser_sync::ChromeSyncClient;
using browser_sync::ProfileSyncComponentsFactoryImpl;
-using syncer::ConflictResolution;
-using syncer::FakeModelTypeService;
-using syncer::ModelTypeService;
-using syncer::SharedModelTypeProcessor;
+using syncer_v2::ConflictResolution;
+using syncer_v2::FakeModelTypeService;
+using syncer_v2::ModelTypeService;
+using syncer_v2::SharedModelTypeProcessor;
const char kKey1[] = "key1";
const char kKey2[] = "key2";
@@ -59,8 +59,8 @@ class TestModelTypeService : public FakeModelTypeService {
base::Bind(&SharedModelTypeProcessor::CreateAsChangeProcessor)) {}
syncer::SyncError ApplySyncChanges(
- std::unique_ptr<syncer::MetadataChangeList> metadata_changes,
- syncer::EntityChangeList entity_changes) override {
+ std::unique_ptr<syncer_v2::MetadataChangeList> metadata_changes,
+ syncer_v2::EntityChangeList entity_changes) override {
syncer::SyncError error = FakeModelTypeService::ApplySyncChanges(
std::move(metadata_changes), entity_changes);
NotifyObservers();
@@ -221,7 +221,7 @@ class TwoClientUssSyncTest : public SyncTest {
}
protected:
- std::unique_ptr<syncer::SyncClient> CreateSyncClient(Profile* profile) {
+ std::unique_ptr<sync_driver::SyncClient> CreateSyncClient(Profile* profile) {
if (!first_client_ignored_) {
// The test infra creates a profile before the two made for sync tests.
first_client_ignored_ = true;

Powered by Google App Engine
This is Rietveld 408576698