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

Unified Diff: chrome/browser/sync/engine/download_updates_command.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/engine/download_updates_command.cc
diff --git a/chrome/browser/sync/engine/download_updates_command.cc b/chrome/browser/sync/engine/download_updates_command.cc
index b2bcccc5ae2d4566d1ef48a2ac4df8b0ebeda9bc..86414a6e1e2ce26a4ca93c306a6f83af2bfd3fcb 100644
--- a/chrome/browser/sync/engine/download_updates_command.cc
+++ b/chrome/browser/sync/engine/download_updates_command.cc
@@ -24,8 +24,8 @@ using sessions::SyncSession;
using std::string;
using syncable::FIRST_REAL_MODEL_TYPE;
using syncable::MODEL_TYPE_COUNT;
-using syncable::ModelEnumSet;
-using syncable::ModelEnumSetToString;
+using syncable::ModelTypeSet;
+using syncable::ModelTypeSetToString;
DownloadUpdatesCommand::DownloadUpdatesCommand() {}
DownloadUpdatesCommand::~DownloadUpdatesCommand() {}
@@ -52,15 +52,15 @@ void DownloadUpdatesCommand::ExecuteImpl(SyncSession* session) {
}
// Request updates for all enabled types.
- const ModelEnumSet enabled_types =
+ const ModelTypeSet enabled_types =
GetRoutingInfoTypes(session->routing_info());
DVLOG(1) << "Getting updates for types "
- << ModelEnumSetToString(enabled_types);
+ << ModelTypeSetToString(enabled_types);
DCHECK(!enabled_types.Empty());
const syncable::ModelTypePayloadMap& type_payload_map =
session->source().types;
- for (ModelEnumSet::Iterator it = enabled_types.First();
+ for (ModelTypeSet::Iterator it = enabled_types.First();
it.Good(); it.Inc()) {
sync_pb::DataTypeProgressMarker* progress_marker =
get_updates->add_from_progress_marker();

Powered by Google App Engine
This is Rietveld 408576698