summaryrefslogtreecommitdiffstats
path: root/chrome/browser/sync/abstract_profile_sync_service_test.cc
diff options
context:
space:
mode:
authorakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-28 22:43:58 +0000
committerakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-28 22:43:58 +0000
commit65f173550226cb0dcf577183a462d48c47764ee3 (patch)
tree9d4451edfc037f39658b804f95a3fbdbc85a7bd5 /chrome/browser/sync/abstract_profile_sync_service_test.cc
parent7953ef8eea2001287dbd233421226ad3f0e16448 (diff)
downloadchromium_src-65f173550226cb0dcf577183a462d48c47764ee3.zip
chromium_src-65f173550226cb0dcf577183a462d48c47764ee3.tar.gz
chromium_src-65f173550226cb0dcf577183a462d48c47764ee3.tar.bz2
[Sync] Rename csync namespace to syncer
Everyone was confused by 'csync'. 'syncer' seems more understandable. (Note that we can't use the 'sync' namespace since sync() is a function from unistd.h.) BUG=10662035 TEST= TBR=jhawkins@chromium.org,pkasting@chromium.org Review URL: https://chromiumcodereview.appspot.com/10698014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@144820 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/sync/abstract_profile_sync_service_test.cc')
-rw-r--r--chrome/browser/sync/abstract_profile_sync_service_test.cc24
1 files changed, 12 insertions, 12 deletions
diff --git a/chrome/browser/sync/abstract_profile_sync_service_test.cc b/chrome/browser/sync/abstract_profile_sync_service_test.cc
index 98ba04c..a1eb5df 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()