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

Unified Diff: chrome/browser/sync/notifier/registration_manager.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/registration_manager.cc
diff --git a/chrome/browser/sync/notifier/registration_manager.cc b/chrome/browser/sync/notifier/registration_manager.cc
index d510012bcf3aeac32afcda72d2616c9ead28e3c6..1adb1671feb150c757b29ccd581265e95e5f5cae 100644
--- a/chrome/browser/sync/notifier/registration_manager.cc
+++ b/chrome/browser/sync/notifier/registration_manager.cc
@@ -70,7 +70,7 @@ RegistrationManager::~RegistrationManager() {
}
void RegistrationManager::SetRegisteredTypes(
- syncable::ModelEnumSet types) {
+ syncable::ModelTypeSet types) {
DCHECK(non_thread_safe_.CalledOnValidThread());
for (int i = syncable::FIRST_REAL_MODEL_TYPE;
@@ -118,9 +118,9 @@ void RegistrationManager::DisableType(syncable::ModelType model_type) {
status->Disable();
}
-syncable::ModelEnumSet RegistrationManager::GetRegisteredTypes() const {
+syncable::ModelTypeSet RegistrationManager::GetRegisteredTypes() const {
DCHECK(non_thread_safe_.CalledOnValidThread());
- syncable::ModelEnumSet registered_types;
+ syncable::ModelTypeSet registered_types;
for (int i = syncable::FIRST_REAL_MODEL_TYPE;
i < syncable::MODEL_TYPE_COUNT; ++i) {
syncable::ModelType model_type = syncable::ModelTypeFromInt(i);
« no previous file with comments | « chrome/browser/sync/notifier/registration_manager.h ('k') | chrome/browser/sync/notifier/registration_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698