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

Unified Diff: chrome/browser/sync/abstract_profile_sync_service_test.cc

Issue 10698014: [Sync] Rename csync namespace to syncer (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Address comments Created 8 years, 6 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 | « chrome/browser/sync/abstract_profile_sync_service_test.h ('k') | chrome/browser/sync/backend_migrator.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/abstract_profile_sync_service_test.cc
diff --git a/chrome/browser/sync/abstract_profile_sync_service_test.cc b/chrome/browser/sync/abstract_profile_sync_service_test.cc
index 98ba04c4826d904645b3d6ad658f177f398c5111..a1eb5dff9c286982acc0cbb34f927d315ca0981c 100644
--- a/chrome/browser/sync/abstract_profile_sync_service_test.cc
+++ b/chrome/browser/sync/abstract_profile_sync_service_test.cc
@@ -16,9 +16,9 @@
#include "sync/test/engine/test_id_factory.h"
#include "sync/util/cryptographer.h"
-using csync::TestIdFactory;
+using syncer::TestIdFactory;
using content::BrowserThread;
-using csync::UserShare;
+using syncer::UserShare;
using syncable::BASE_VERSION;
using syncable::CREATE;
using syncable::IS_DEL;
@@ -70,26 +70,26 @@ bool ProfileSyncServiceTestHelper::CreateRoot(ModelType model_type,
}
/* static */
-csync::ImmutableChangeRecordList
+syncer::ImmutableChangeRecordList
ProfileSyncServiceTestHelper::MakeSingletonChangeRecordList(
- int64 node_id, csync::ChangeRecord::Action action) {
- csync::ChangeRecord record;
+ int64 node_id, syncer::ChangeRecord::Action action) {
+ syncer::ChangeRecord record;
record.action = action;
record.id = node_id;
- csync::ChangeRecordList records(1, record);
- return csync::ImmutableChangeRecordList(&records);
+ syncer::ChangeRecordList records(1, record);
+ return syncer::ImmutableChangeRecordList(&records);
}
/* static */
-csync::ImmutableChangeRecordList
+syncer::ImmutableChangeRecordList
ProfileSyncServiceTestHelper::MakeSingletonDeletionChangeRecordList(
int64 node_id, const sync_pb::EntitySpecifics& specifics) {
- csync::ChangeRecord record;
- record.action = csync::ChangeRecord::ACTION_DELETE;
+ syncer::ChangeRecord record;
+ record.action = syncer::ChangeRecord::ACTION_DELETE;
record.id = node_id;
record.specifics = specifics;
- csync::ChangeRecordList records(1, record);
- return csync::ImmutableChangeRecordList(&records);
+ syncer::ChangeRecordList records(1, record);
+ return syncer::ImmutableChangeRecordList(&records);
}
AbstractProfileSyncServiceTest::AbstractProfileSyncServiceTest()
« no previous file with comments | « chrome/browser/sync/abstract_profile_sync_service_test.h ('k') | chrome/browser/sync/backend_migrator.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698