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

Unified Diff: sync/engine/throttled_data_type_tracker_unittest.cc

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/throttled_data_type_tracker.cc ('k') | sync/engine/update_applicator.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_unittest.cc
diff --git a/sync/engine/throttled_data_type_tracker_unittest.cc b/sync/engine/throttled_data_type_tracker_unittest.cc
index 54a600fb9957b78776c46304f697e3149adaa26c..011fdffb70c37eace343da2e5850691199db599a 100644
--- a/sync/engine/throttled_data_type_tracker_unittest.cc
+++ b/sync/engine/throttled_data_type_tracker_unittest.cc
@@ -13,19 +13,19 @@ using base::TimeTicks;
namespace syncer {
TEST(ThrottledDataTypeTrackerTest, AddUnthrottleTimeTest) {
- const syncable::ModelTypeSet types(syncable::BOOKMARKS, syncable::PASSWORDS);
+ const syncer::ModelTypeSet types(syncer::BOOKMARKS, syncer::PASSWORDS);
ThrottledDataTypeTracker throttler(NULL);
TimeTicks now = TimeTicks::Now();
throttler.SetUnthrottleTime(types, now);
EXPECT_EQ(throttler.unthrottle_times_.size(), 2U);
- EXPECT_EQ(throttler.unthrottle_times_[syncable::BOOKMARKS], now);
- EXPECT_EQ(throttler.unthrottle_times_[syncable::PASSWORDS], now);
+ EXPECT_EQ(throttler.unthrottle_times_[syncer::BOOKMARKS], now);
+ EXPECT_EQ(throttler.unthrottle_times_[syncer::PASSWORDS], now);
}
TEST(ThrottledDataTypeTrackerTest, GetCurrentlyThrottledTypesTest) {
- const syncable::ModelTypeSet types(syncable::BOOKMARKS, syncable::PASSWORDS);
+ const syncer::ModelTypeSet types(syncer::BOOKMARKS, syncer::PASSWORDS);
ThrottledDataTypeTracker throttler(NULL);
TimeTicks now = TimeTicks::Now();
@@ -44,8 +44,8 @@ TEST(ThrottledDataTypeTrackerTest, GetCurrentlyThrottledTypesTest) {
// Have two data types whose throttling is set to expire at different times.
TEST(ThrottledDataTypeTrackerTest, UnthrottleSomeTypesTest) {
- const syncable::ModelTypeSet long_throttled(syncable::BOOKMARKS);
- const syncable::ModelTypeSet short_throttled(syncable::PASSWORDS);
+ const syncer::ModelTypeSet long_throttled(syncer::BOOKMARKS);
+ const syncer::ModelTypeSet short_throttled(syncer::PASSWORDS);
const TimeTicks start_time = TimeTicks::Now();
const TimeTicks short_throttle_time = start_time + TimeDelta::FromSeconds(1);
« no previous file with comments | « sync/engine/throttled_data_type_tracker.cc ('k') | sync/engine/update_applicator.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698