summaryrefslogtreecommitdiffstats
path: root/sync/api/sync_data.h
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 /sync/api/sync_data.h
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 'sync/api/sync_data.h')
-rw-r--r--sync/api/sync_data.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/sync/api/sync_data.h b/sync/api/sync_data.h
index 59d4e4e..ffe5825 100644
--- a/sync/api/sync_data.h
+++ b/sync/api/sync_data.h
@@ -19,7 +19,7 @@ class EntitySpecifics;
class SyncEntity;
} // namespace sync_pb
-namespace csync {
+namespace syncer {
typedef syncable::ModelType SyncDataType;
@@ -100,7 +100,7 @@ class SyncData {
static void Swap(sync_pb::SyncEntity* t1, sync_pb::SyncEntity* t2);
};
- typedef csync::Immutable<
+ typedef syncer::Immutable<
sync_pb::SyncEntity, ImmutableSyncEntityTraits>
ImmutableSyncEntity;
@@ -110,7 +110,7 @@ class SyncData {
// Whether this SyncData holds valid data.
bool is_valid_;
- // Equal to csync::kInvalidId iff this is local.
+ // Equal to syncer::kInvalidId iff this is local.
int64 id_;
// The actual shared sync entity being held.
@@ -120,6 +120,6 @@ class SyncData {
// gmock printer helper.
void PrintTo(const SyncData& sync_data, std::ostream* os);
-} // namespace csync
+} // namespace syncer
#endif // SYNC_API_SYNC_DATA_H_