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

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

Issue 8851006: [Sync] Replace all instances of ModelTypeSet with ModelEnumSet (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Cleanup pass #2 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/sync_session_context.h
diff --git a/chrome/browser/sync/sessions/sync_session_context.h b/chrome/browser/sync/sessions/sync_session_context.h
index 1ca222e5657c57cd0f4054fa3829927bb566dee2..a5324bcd5e1102b1660c62c3fcfcdebd3f1a4fb9 100644
--- a/chrome/browser/sync/sessions/sync_session_context.h
+++ b/chrome/browser/sync/sessions/sync_session_context.h
@@ -110,7 +110,7 @@ class SyncSessionContext {
}
// This is virtual for unit tests.
- virtual void SetUnthrottleTime(const syncable::ModelTypeSet& types,
+ virtual void SetUnthrottleTime(syncable::ModelEnumSet types,
const base::TimeTicks& time);
// This prunes the |unthrottle_time_| map based on the |time| passed in. This
@@ -119,7 +119,7 @@ class SyncSessionContext {
// This returns the list of currently throttled types. Unless server returns
// new throttled types this will remain constant through out the sync cycle.
- syncable::ModelTypeSet GetThrottledTypes() const;
+ syncable::ModelEnumSet GetThrottledTypes() const;
private:
typedef std::map<syncable::ModelType, base::TimeTicks> UnthrottleTimes;
« no previous file with comments | « chrome/browser/sync/protocol/sync_protocol_error.h ('k') | chrome/browser/sync/sessions/sync_session_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698