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

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

Issue 8772074: [Sync] Convert syncable/ directory to ModelEnumSet (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix typo 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 703f6e6eaefcf98653ce63eb8adf4ba0365b15d8..5d085c078287d520ca8714e3e43c95eebe501412 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,
- const syncable::ModelTypeBitSet& models_with_changes) {
+ syncable::ModelEnumSet 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::ModelTypeBitSetToValue(models_with_changes));
+ syncable::ModelEnumSetToValue(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/notifier/chrome_invalidation_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698