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-22 07:35:26 +0000
committerakalin@chromium.org <akalin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2012-06-22 07:35:26 +0000
commit06aeba61e19bc26ec0ff993b56a6a1a4a20d72bd (patch)
treeedcc4117871b482005d719b9fa20d921826929e6 /sync/internal_api/js_mutation_event_observer.cc
parent855cf34fcf1f41eb7a12afdbae58fec830a1ea9b (diff)
downloadchromium_src-06aeba61e19bc26ec0ff993b56a6a1a4a20d72bd.zip
chromium_src-06aeba61e19bc26ec0ff993b56a6a1a4a20d72bd.tar.gz
chromium_src-06aeba61e19bc26ec0ff993b56a6a1a4a20d72bd.tar.bz2
[Sync] Rename sync_api to csync
BUG=128060 TEST= Review URL: https://chromiumcodereview.appspot.com/10601002 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@143557 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.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/sync/internal_api/js_mutation_event_observer.cc b/sync/internal_api/js_mutation_event_observer.cc
index 7452846..dc57f295 100644
--- a/sync/internal_api/js_mutation_event_observer.cc
+++ b/sync/internal_api/js_mutation_event_observer.cc
@@ -46,7 +46,7 @@ const size_t kChangeLimit = 100;
void JsMutationEventObserver::OnChangesApplied(
syncable::ModelType model_type,
int64 write_transaction_id,
- const sync_api::ImmutableChangeRecordList& changes) {
+ const csync::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 (sync_api::ChangeRecordList::const_iterator it =
+ for (csync::ChangeRecordList::const_iterator it =
changes.Get().begin(); it != changes.Get().end(); ++it) {
changes_list->Append(it->ToValue());
}