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

Unified Diff: components/sync/api/sync_change_unittest.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
« no previous file with comments | « components/sync/api/sync_change_processor_wrapper_for_test.cc ('k') | components/sync/api/sync_data.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/sync/api/sync_change_unittest.cc
diff --git a/components/sync/api/sync_change_unittest.cc b/components/sync/api/sync_change_unittest.cc
index 2337038aa7f6032ffd2881dd5ca0e65f6c3430ab..df5601d01b4f0601ad6128282e20014cee7a1499 100644
--- a/components/sync/api/sync_change_unittest.cc
+++ b/components/sync/api/sync_change_unittest.cc
@@ -89,19 +89,19 @@ TEST_F(SyncChangeTest, SyncerChanges) {
pref_specifics->set_name("update");
change_list.push_back(SyncChange(
FROM_HERE, SyncChange::ACTION_UPDATE,
- SyncData::CreateRemoteData(1, update_specifics, base::Time(),
- AttachmentIdList(),
- AttachmentServiceProxyForTest::Create())));
+ SyncData::CreateRemoteData(
+ 1, update_specifics, base::Time(), syncer::AttachmentIdList(),
+ syncer::AttachmentServiceProxyForTest::Create())));
// Create an add.
sync_pb::EntitySpecifics add_specifics;
pref_specifics = add_specifics.mutable_preference();
pref_specifics->set_name("add");
- change_list.push_back(SyncChange(
- FROM_HERE, SyncChange::ACTION_ADD,
- SyncData::CreateRemoteData(2, add_specifics, base::Time(),
- AttachmentIdList(),
- AttachmentServiceProxyForTest::Create())));
+ change_list.push_back(
+ SyncChange(FROM_HERE, SyncChange::ACTION_ADD,
+ SyncData::CreateRemoteData(
+ 2, add_specifics, base::Time(), syncer::AttachmentIdList(),
+ syncer::AttachmentServiceProxyForTest::Create())));
// Create a delete.
sync_pb::EntitySpecifics delete_specifics;
@@ -109,9 +109,9 @@ TEST_F(SyncChangeTest, SyncerChanges) {
pref_specifics->set_name("add");
change_list.push_back(SyncChange(
FROM_HERE, SyncChange::ACTION_DELETE,
- SyncData::CreateRemoteData(3, delete_specifics, base::Time(),
- AttachmentIdList(),
- AttachmentServiceProxyForTest::Create())));
+ SyncData::CreateRemoteData(
+ 3, delete_specifics, base::Time(), syncer::AttachmentIdList(),
+ syncer::AttachmentServiceProxyForTest::Create())));
ASSERT_EQ(3U, change_list.size());
« no previous file with comments | « components/sync/api/sync_change_processor_wrapper_for_test.cc ('k') | components/sync/api/sync_data.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698