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

Unified Diff: chrome/browser/ui/webui/sync_setup_handler.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
« no previous file with comments | « chrome/browser/sync/util/cryptographer_unittest.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/sync_setup_handler.cc
diff --git a/chrome/browser/ui/webui/sync_setup_handler.cc b/chrome/browser/ui/webui/sync_setup_handler.cc
index 49c859729d31ac0f9a4c66973cc348f1b5da6ea0..9d9d49bae202a203ad3422c29182003db065e543 100644
--- a/chrome/browser/ui/webui/sync_setup_handler.cc
+++ b/chrome/browser/ui/webui/sync_setup_handler.cc
@@ -187,7 +187,7 @@ bool HasConfigurationChanged(const SyncConfiguration& config,
// Only check the data types that are explicitly listed on the sync
// preferences page.
- const syncable::ModelEnumSet types = config.data_types;
+ const syncable::ModelTypeSet types = config.data_types;
if (((types.Has(syncable::BOOKMARKS)) !=
pref_service->GetBoolean(prefs::kSyncBookmarks)) ||
((types.Has(syncable::PREFERENCES)) !=
@@ -572,7 +572,7 @@ void SyncSetupHandler::HandleConfigure(const ListValue* args) {
if (!configuration.sync_everything) {
// Only log the data types that are explicitly listed on the sync
// preferences page.
- const syncable::ModelEnumSet types = configuration.data_types;
+ const syncable::ModelTypeSet types = configuration.data_types;
if (types.Has(syncable::BOOKMARKS))
UMA_HISTOGRAM_ENUMERATION(
"Sync.CustomSync", BOOKMARKS, SELECTABLE_DATATYPE_COUNT + 1);
« no previous file with comments | « chrome/browser/sync/util/cryptographer_unittest.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698