Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(703)

Unified Diff: chrome/browser/sync/js/js_mutation_event_observer.cc

Issue 8919021: [Sync] Rename ModelEnumSet to ModelTypeSet (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/sync/js/js_mutation_event_observer.cc
diff --git a/chrome/browser/sync/js/js_mutation_event_observer.cc b/chrome/browser/sync/js/js_mutation_event_observer.cc
index 5d085c078287d520ca8714e3e43c95eebe501412..d54ddd7cb174e5fa71ddcd4eb98f4a18bff737f1 100644
--- a/chrome/browser/sync/js/js_mutation_event_observer.cc
+++ b/chrome/browser/sync/js/js_mutation_event_observer.cc
@@ -85,7 +85,7 @@ void JsMutationEventObserver::OnChangesComplete(
void JsMutationEventObserver::OnTransactionWrite(
const syncable::ImmutableWriteTransactionInfo& write_transaction_info,
- syncable::ModelEnumSet models_with_changes) {
+ syncable::ModelTypeSet models_with_changes) {
DCHECK(non_thread_safe_.CalledOnValidThread());
if (!event_handler_.IsInitialized()) {
return;
@@ -94,7 +94,7 @@ void JsMutationEventObserver::OnTransactionWrite(
details.Set("writeTransactionInfo",
write_transaction_info.Get().ToValue(kChangeLimit));
details.Set("modelsWithChanges",
- syncable::ModelEnumSetToValue(models_with_changes));
+ syncable::ModelTypeSetToValue(models_with_changes));
HandleJsEvent(FROM_HERE, "onTransactionWrite", JsEventDetails(&details));
}
« no previous file with comments | « chrome/browser/sync/js/js_mutation_event_observer.h ('k') | chrome/browser/sync/js/js_sync_manager_observer.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698