summaryrefslogtreecommitdiffstats
path: root/sync/internal_api/js_mutation_event_observer.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 /sync/internal_api/js_mutation_event_observer.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 'sync/internal_api/js_mutation_event_observer.cc')
-rw-r--r--sync/internal_api/js_mutation_event_observer.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/sync/internal_api/js_mutation_event_observer.cc b/sync/internal_api/js_mutation_event_observer.cc
index dc57f295..02f5837 100644
--- a/sync/internal_api/js_mutation_event_observer.cc
+++ b/sync/internal_api/js_mutation_event_observer.cc
@@ -13,7 +13,7 @@
#include "sync/js/js_event_details.h"
#include "sync/js/js_event_handler.h"
-namespace csync {
+namespace syncer {
JsMutationEventObserver::JsMutationEventObserver()
: weak_ptr_factory_(ALLOW_THIS_IN_INITIALIZER_LIST(this)) {}
@@ -46,7 +46,7 @@ const size_t kChangeLimit = 100;
void JsMutationEventObserver::OnChangesApplied(
syncable::ModelType model_type,
int64 write_transaction_id,
- const csync::ImmutableChangeRecordList& changes) {
+ const syncer::ImmutableChangeRecordList& changes) {
if (!event_handler_.IsInitialized()) {
return;
}
@@ -58,7 +58,7 @@ void JsMutationEventObserver::OnChangesApplied(
const size_t changes_size = changes.Get().size();
if (changes_size <= kChangeLimit) {
ListValue* changes_list = new ListValue();
- for (csync::ChangeRecordList::const_iterator it =
+ for (syncer::ChangeRecordList::const_iterator it =
changes.Get().begin(); it != changes.Get().end(); ++it) {
changes_list->Append(it->ToValue());
}
@@ -109,4 +109,4 @@ void JsMutationEventObserver::HandleJsEvent(
&JsEventHandler::HandleJsEvent, name, details);
}
-} // namespace csync
+} // namespace syncer