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

Unified Diff: sync/engine/throttled_data_type_tracker_unittest.cc

Issue 10795018: [Sync] Remove unneeded 'using syncer::' lines and 'syncer::' scopings (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fiix indent Created 8 years, 5 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 011fdffb70c37eace343da2e5850691199db599a..a2d894f5ad1711c1eda9995bb99fbf697bf7166a 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 syncer::ModelTypeSet types(syncer::BOOKMARKS, syncer::PASSWORDS);
+ const ModelTypeSet types(BOOKMARKS, PASSWORDS);
ThrottledDataTypeTracker throttler(NULL);
TimeTicks now = TimeTicks::Now();
throttler.SetUnthrottleTime(types, now);
EXPECT_EQ(throttler.unthrottle_times_.size(), 2U);
- EXPECT_EQ(throttler.unthrottle_times_[syncer::BOOKMARKS], now);
- EXPECT_EQ(throttler.unthrottle_times_[syncer::PASSWORDS], now);
+ EXPECT_EQ(throttler.unthrottle_times_[BOOKMARKS], now);
+ EXPECT_EQ(throttler.unthrottle_times_[PASSWORDS], now);
}
TEST(ThrottledDataTypeTrackerTest, GetCurrentlyThrottledTypesTest) {
- const syncer::ModelTypeSet types(syncer::BOOKMARKS, syncer::PASSWORDS);
+ const ModelTypeSet types(BOOKMARKS, 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 syncer::ModelTypeSet long_throttled(syncer::BOOKMARKS);
- const syncer::ModelTypeSet short_throttled(syncer::PASSWORDS);
+ const ModelTypeSet long_throttled(BOOKMARKS);
+ const ModelTypeSet short_throttled(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