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

Unified Diff: chrome/browser/sync/notifier/chrome_invalidation_client.h

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/notifier/chrome_invalidation_client.h
diff --git a/chrome/browser/sync/notifier/chrome_invalidation_client.h b/chrome/browser/sync/notifier/chrome_invalidation_client.h
index 27a6165c0cfa30d89da5192d23fd93ca88c76769..a3b8ed820a41faeb0462ac10103ccfacb349fdba 100644
--- a/chrome/browser/sync/notifier/chrome_invalidation_client.h
+++ b/chrome/browser/sync/notifier/chrome_invalidation_client.h
@@ -83,7 +83,7 @@ class ChromeInvalidationClient
// Register the sync types that we're interested in getting
// notifications for. May be called at any time.
- void RegisterTypes(const syncable::ModelTypeSet& types);
+ void RegisterTypes(syncable::ModelEnumSet types);
virtual void WriteState(const std::string& state) OVERRIDE;
@@ -122,7 +122,7 @@ class ChromeInvalidationClient
friend class ChromeInvalidationClientTest;
void EmitInvalidation(
- const syncable::ModelTypeSet& types, const std::string& payload);
+ syncable::ModelEnumSet types, const std::string& payload);
base::NonThreadSafe non_thread_safe_;
ChromeSystemResources chrome_system_resources_;
@@ -138,7 +138,7 @@ class ChromeInvalidationClient
cache_invalidation_packet_handler_;
scoped_ptr<RegistrationManager> registration_manager_;
// Stored to pass to |registration_manager_| on start.
- syncable::ModelTypeSet registered_types_;
+ syncable::ModelEnumSet registered_types_;
bool ticl_ready_;
DISALLOW_COPY_AND_ASSIGN(ChromeInvalidationClient);
« no previous file with comments | « chrome/browser/sync/js/js_mutation_event_observer.cc ('k') | chrome/browser/sync/notifier/chrome_invalidation_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698