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

Unified Diff: sync/engine/throttled_data_type_tracker.h

Issue 10696087: [Sync] Move ModelType and related classes to 'syncer' namespace (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: sort headers, update copyrights Created 8 years, 6 months 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 | « sync/engine/syncproto.h ('k') | sync/engine/throttled_data_type_tracker.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/engine/throttled_data_type_tracker.h
diff --git a/sync/engine/throttled_data_type_tracker.h b/sync/engine/throttled_data_type_tracker.h
index 14419735c86321239addaf9f6ae7afa37fb96e40..9e1eb6a985bcf9c4c6e05cd4f2efef819f2ea0a2 100644
--- a/sync/engine/throttled_data_type_tracker.h
+++ b/sync/engine/throttled_data_type_tracker.h
@@ -23,7 +23,7 @@ class ThrottledDataTypeTracker {
~ThrottledDataTypeTracker();
// Throttles a set of data types until the specified time is reached.
- void SetUnthrottleTime(syncable::ModelTypeSet types,
+ void SetUnthrottleTime(syncer::ModelTypeSet types,
const base::TimeTicks& time);
// Given an input of the current time (usually from time::Now()), removes from
@@ -31,7 +31,7 @@ class ThrottledDataTypeTracker {
void PruneUnthrottledTypes(const base::TimeTicks& time);
// Returns the set of types which are currently throttled.
- syncable::ModelTypeSet GetThrottledTypes() const;
+ syncer::ModelTypeSet GetThrottledTypes() const;
private:
FRIEND_TEST_ALL_PREFIXES(ThrottledDataTypeTrackerTest,
@@ -39,7 +39,7 @@ class ThrottledDataTypeTracker {
FRIEND_TEST_ALL_PREFIXES(ThrottledDataTypeTrackerTest,
GetCurrentlyThrottledTypesTest);
- typedef std::map<syncable::ModelType, base::TimeTicks> UnthrottleTimes;
+ typedef std::map<syncer::ModelType, base::TimeTicks> UnthrottleTimes;
// This is a map from throttled data types to the time at which they can be
// unthrottled.
« no previous file with comments | « sync/engine/syncproto.h ('k') | sync/engine/throttled_data_type_tracker.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698