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

Unified Diff: sync/engine/sync_scheduler_whitebox_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/sync_scheduler_unittest.cc ('k') | sync/engine/syncer_proto_util.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/engine/sync_scheduler_whitebox_unittest.cc
diff --git a/sync/engine/sync_scheduler_whitebox_unittest.cc b/sync/engine/sync_scheduler_whitebox_unittest.cc
index 71af12915666b1f767d5b463afd85c5e7c440c31..4581a07b8fdec58e57943aba377945b760d49be1 100644
--- a/sync/engine/sync_scheduler_whitebox_unittest.cc
+++ b/sync/engine/sync_scheduler_whitebox_unittest.cc
@@ -19,7 +19,6 @@ using base::TimeDelta;
using base::TimeTicks;
namespace syncer {
-using syncer::Syncer;
using sessions::SyncSession;
using sessions::SyncSessionContext;
using sessions::SyncSourceInfo;
@@ -32,8 +31,8 @@ class SyncSchedulerWhiteboxTest : public testing::Test {
Syncer* syncer = new Syncer();
ModelSafeRoutingInfo routes;
- routes[syncer::BOOKMARKS] = GROUP_UI;
- routes[syncer::NIGORI] = GROUP_PASSIVE;
+ routes[BOOKMARKS] = GROUP_UI;
+ routes[NIGORI] = GROUP_PASSIVE;
workers_.push_back(make_scoped_refptr(new FakeModelWorker(GROUP_UI)));
workers_.push_back(make_scoped_refptr(new FakeModelWorker(GROUP_PASSIVE)));
@@ -143,15 +142,15 @@ TEST_F(SyncSchedulerWhiteboxTest, SaveNudge) {
TEST_F(SyncSchedulerWhiteboxTest, SaveNudgeWhileTypeThrottled) {
InitializeSyncerOnNormalMode();
- syncer::ModelTypeSet types;
- types.Put(syncer::BOOKMARKS);
+ ModelTypeSet types;
+ types.Put(BOOKMARKS);
// Mark bookmarks as throttled.
context()->throttled_data_type_tracker()->SetUnthrottleTime(
types, base::TimeTicks::Now() + base::TimeDelta::FromHours(2));
- syncer::ModelTypePayloadMap types_with_payload;
- types_with_payload[syncer::BOOKMARKS] = "";
+ ModelTypePayloadMap types_with_payload;
+ types_with_payload[BOOKMARKS] = "";
SyncSourceInfo info(GetUpdatesCallerInfo::LOCAL, types_with_payload);
SyncSession* s = scheduler_->CreateSyncSession(info);
« no previous file with comments | « sync/engine/sync_scheduler_unittest.cc ('k') | sync/engine/syncer_proto_util.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698