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

Unified Diff: sync/sessions/session_state_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/sessions/ordered_commit_set_unittest.cc ('k') | sync/sessions/status_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/sessions/session_state_unittest.cc
diff --git a/sync/sessions/session_state_unittest.cc b/sync/sessions/session_state_unittest.cc
index b227ac7dd31d51380179ce3c3933b6db9fb9ff38..5685e2809ee0dbc061c2efc7a605c0d36fde72d1 100644
--- a/sync/sessions/session_state_unittest.cc
+++ b/sync/sessions/session_state_unittest.cc
@@ -30,11 +30,11 @@ class SessionStateTest : public testing::Test {};
TEST_F(SessionStateTest, SyncSourceInfoToValue) {
sync_pb::GetUpdatesCallerInfo::GetUpdatesSource updates_source =
sync_pb::GetUpdatesCallerInfo::PERIODIC;
- syncer::ModelTypePayloadMap types;
- types[syncer::PREFERENCES] = "preferencespayload";
- types[syncer::EXTENSIONS] = "";
+ ModelTypePayloadMap types;
+ types[PREFERENCES] = "preferencespayload";
+ types[EXTENSIONS] = "";
scoped_ptr<DictionaryValue> expected_types_value(
- syncer::ModelTypePayloadMapToValue(types));
+ ModelTypePayloadMapToValue(types));
SyncSourceInfo source_info(updates_source, types);
@@ -57,16 +57,15 @@ TEST_F(SessionStateTest, SyncSessionSnapshotToValue) {
const bool kIsShareUsable = true;
- const syncer::ModelTypeSet initial_sync_ended(
- syncer::BOOKMARKS, syncer::PREFERENCES);
+ const ModelTypeSet initial_sync_ended(BOOKMARKS, PREFERENCES);
scoped_ptr<ListValue> expected_initial_sync_ended_value(
- syncer::ModelTypeSetToValue(initial_sync_ended));
+ ModelTypeSetToValue(initial_sync_ended));
- syncer::ModelTypePayloadMap download_progress_markers;
- download_progress_markers[syncer::BOOKMARKS] = "test";
- download_progress_markers[syncer::APPS] = "apps";
+ ModelTypePayloadMap download_progress_markers;
+ download_progress_markers[BOOKMARKS] = "test";
+ download_progress_markers[APPS] = "apps";
scoped_ptr<DictionaryValue> expected_download_progress_markers_value(
- syncer::ModelTypePayloadMapToValue(download_progress_markers));
+ ModelTypePayloadMapToValue(download_progress_markers));
const bool kHasMoreToSync = false;
const bool kIsSilenced = true;
« no previous file with comments | « sync/sessions/ordered_commit_set_unittest.cc ('k') | sync/sessions/status_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698