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

Unified Diff: chrome/browser/sync/notifier/registration_manager.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/registration_manager.h
diff --git a/chrome/browser/sync/notifier/registration_manager.h b/chrome/browser/sync/notifier/registration_manager.h
index cb222009dacf12781e14075608b49af3a5115440..272cda655268ad2bc44dd4de5232d88beb04e706 100644
--- a/chrome/browser/sync/notifier/registration_manager.h
+++ b/chrome/browser/sync/notifier/registration_manager.h
@@ -67,7 +67,7 @@ class RegistrationManager {
// Registers all types included in the given set (that are not
// already disabled) and sets all other types to be unregistered.
- void SetRegisteredTypes(const syncable::ModelTypeSet& types);
+ void SetRegisteredTypes(syncable::ModelEnumSet types);
// Marks the registration for the |model_type| lost and re-registers
// it (unless it's disabled).
@@ -84,7 +84,7 @@ class RegistrationManager {
// The functions below should only be used in tests.
// Gets all currently-registered types.
- syncable::ModelTypeSet GetRegisteredTypes() const;
+ syncable::ModelEnumSet GetRegisteredTypes() const;
// Gets all pending registrations and their next min delays.
PendingRegistrationMap GetPendingRegistrations() const;
« no previous file with comments | « chrome/browser/sync/notifier/p2p_notifier_unittest.cc ('k') | chrome/browser/sync/notifier/registration_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698