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

Unified Diff: chrome/browser/sync/sessions/session_state.h

Issue 8786014: [Sync] Convert sessions/ directory to ModelEnumSet (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Sync to head 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/sessions/session_state.h
diff --git a/chrome/browser/sync/sessions/session_state.h b/chrome/browser/sync/sessions/session_state.h
index 0868d9da06b817b6a5dbc5af343bed2947120cf5..711ef3e621a791d84d1a5d709e75338be6b78099 100644
--- a/chrome/browser/sync/sessions/session_state.h
+++ b/chrome/browser/sync/sessions/session_state.h
@@ -78,7 +78,7 @@ struct SyncerStatus {
// If the syncer encountered a MIGRATION_DONE code, these are the types that
// the client must now "migrate", by purging and re-downloading all updates.
- syncable::ModelTypeSet types_needing_local_migration;
+ syncable::ModelEnumSet types_needing_local_migration;
// Overwrites due to conflict resolution counters.
int num_local_overwrites;
@@ -121,7 +121,7 @@ struct SyncSessionSnapshot {
const ErrorCounters& errors,
int64 num_server_changes_remaining,
bool is_share_usable,
- const syncable::ModelTypeBitSet& initial_sync_ended,
+ syncable::ModelEnumSet initial_sync_ended,
const std::string
(&download_progress_markers)[syncable::MODEL_TYPE_COUNT],
bool more_to_sync,
@@ -144,7 +144,7 @@ struct SyncSessionSnapshot {
const ErrorCounters errors;
const int64 num_server_changes_remaining;
const bool is_share_usable;
- const syncable::ModelTypeBitSet initial_sync_ended;
+ const syncable::ModelEnumSet initial_sync_ended;
const std::string download_progress_markers[syncable::MODEL_TYPE_COUNT];
const bool has_more_to_sync;
const bool is_silenced;
« no previous file with comments | « chrome/browser/sync/js/js_sync_manager_observer_unittest.cc ('k') | chrome/browser/sync/sessions/session_state.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698