summaryrefslogtreecommitdiffstats
path: root/sync/internal_api/js_mutation_event_observer.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/internal_api/js_mutation_event_observer.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/internal_api/js_mutation_event_observer.h')
-rw-r--r--sync/internal_api/js_mutation_event_observer.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/sync/internal_api/js_mutation_event_observer.h b/sync/internal_api/js_mutation_event_observer.h
index eb0dc8e..18f6e32 100644
--- a/sync/internal_api/js_mutation_event_observer.h
+++ b/sync/internal_api/js_mutation_event_observer.h
@@ -20,7 +20,7 @@ namespace tracked_objects {
class Location;
} // namespace tracked_objects
-namespace csync {
+namespace syncer {
class JsEventDetails;
class JsEventHandler;
@@ -28,7 +28,7 @@ class JsEventHandler;
// Observes all change- and transaction-related events and routes a
// summarized version to a JsEventHandler.
class JsMutationEventObserver
- : public csync::SyncManager::ChangeObserver,
+ : public syncer::SyncManager::ChangeObserver,
public syncable::TransactionObserver,
public base::NonThreadSafe {
public:
@@ -42,11 +42,11 @@ class JsMutationEventObserver
void SetJsEventHandler(const WeakHandle<JsEventHandler>& event_handler);
- // csync::SyncManager::ChangeObserver implementation.
+ // syncer::SyncManager::ChangeObserver implementation.
virtual void OnChangesApplied(
syncable::ModelType model_type,
int64 write_transaction_id,
- const csync::ImmutableChangeRecordList& changes) OVERRIDE;
+ const syncer::ImmutableChangeRecordList& changes) OVERRIDE;
virtual void OnChangesComplete(syncable::ModelType model_type) OVERRIDE;
// syncable::TransactionObserver implementation.
@@ -65,6 +65,6 @@ class JsMutationEventObserver
DISALLOW_COPY_AND_ASSIGN(JsMutationEventObserver);
};
-} // namespace csync
+} // namespace syncer
#endif // SYNC_INTERNAL_API_JS_MUTATION_EVENT_OBSERVER_H_