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

Unified Diff: chrome/browser/sync/notifier/non_blocking_invalidation_notifier.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/notifier/non_blocking_invalidation_notifier.cc
diff --git a/chrome/browser/sync/notifier/non_blocking_invalidation_notifier.cc b/chrome/browser/sync/notifier/non_blocking_invalidation_notifier.cc
index 48f07d25b9a29b12c46fd84a9191836a4b7c877f..6aff10cee6715bdad0695a972733b236768fd8fd 100644
--- a/chrome/browser/sync/notifier/non_blocking_invalidation_notifier.cc
+++ b/chrome/browser/sync/notifier/non_blocking_invalidation_notifier.cc
@@ -33,7 +33,7 @@ class NonBlockingInvalidationNotifier::Core
void SetUniqueId(const std::string& unique_id);
void SetState(const std::string& state);
void UpdateCredentials(const std::string& email, const std::string& token);
- void UpdateEnabledTypes(syncable::ModelEnumSet enabled_types);
+ void UpdateEnabledTypes(syncable::ModelTypeSet enabled_types);
// SyncNotifierObserver implementation (all called on I/O thread).
virtual void OnIncomingNotification(
@@ -113,7 +113,7 @@ void NonBlockingInvalidationNotifier::Core::UpdateCredentials(
}
void NonBlockingInvalidationNotifier::Core::UpdateEnabledTypes(
- syncable::ModelEnumSet enabled_types) {
+ syncable::ModelTypeSet enabled_types) {
DCHECK(io_message_loop_proxy_->BelongsToCurrentThread());
invalidation_notifier_->UpdateEnabledTypes(enabled_types);
}
@@ -223,7 +223,7 @@ void NonBlockingInvalidationNotifier::UpdateCredentials(
}
void NonBlockingInvalidationNotifier::UpdateEnabledTypes(
- syncable::ModelEnumSet enabled_types) {
+ syncable::ModelTypeSet enabled_types) {
DCHECK(parent_message_loop_proxy_->BelongsToCurrentThread());
if (!io_message_loop_proxy_->PostTask(
FROM_HERE,
@@ -234,7 +234,7 @@ void NonBlockingInvalidationNotifier::UpdateEnabledTypes(
}
void NonBlockingInvalidationNotifier::SendNotification(
- syncable::ModelEnumSet changed_types) {
+ syncable::ModelTypeSet changed_types) {
DCHECK(parent_message_loop_proxy_->BelongsToCurrentThread());
// InvalidationClient doesn't implement SendNotification(), so no
// need to forward on the call.
« no previous file with comments | « chrome/browser/sync/notifier/non_blocking_invalidation_notifier.h ('k') | chrome/browser/sync/notifier/p2p_notifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698