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

Unified Diff: sync/engine/store_timestamps_command.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/resolve_conflicts_command_unittest.cc ('k') | sync/engine/sync_scheduler.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: sync/engine/store_timestamps_command.cc
diff --git a/sync/engine/store_timestamps_command.cc b/sync/engine/store_timestamps_command.cc
index 0925e33d7c90574ad8030b073a00ba32d3759413..bab995e7a99ce830607fabf324245874bed17349 100644
--- a/sync/engine/store_timestamps_command.cc
+++ b/sync/engine/store_timestamps_command.cc
@@ -26,12 +26,12 @@ SyncerError StoreTimestampsCommand::ExecuteImpl(
// Update the progress marker tokens from the server result. If a marker
// was omitted for any one type, that indicates no change from the previous
// state.
- syncer::ModelTypeSet forward_progress_types;
+ ModelTypeSet forward_progress_types;
for (int i = 0; i < updates.new_progress_marker_size(); ++i) {
- syncer::ModelType model =
- syncer::GetModelTypeFromSpecificsFieldNumber(
+ ModelType model =
+ GetModelTypeFromSpecificsFieldNumber(
updates.new_progress_marker(i).data_type_id());
- if (model == syncer::UNSPECIFIED || model == syncer::TOP_LEVEL_FOLDER) {
+ if (model == UNSPECIFIED || model == TOP_LEVEL_FOLDER) {
NOTREACHED() << "Unintelligible server response.";
continue;
}
@@ -43,9 +43,9 @@ SyncerError StoreTimestampsCommand::ExecuteImpl(
if (VLOG_IS_ON(1)) {
DVLOG_IF(1, !forward_progress_types.Empty())
<< "Get Updates got new progress marker for types: "
- << syncer::ModelTypeSetToString(forward_progress_types)
+ << ModelTypeSetToString(forward_progress_types)
<< " out of possible: "
- << syncer::ModelTypeSetToString(status->updates_request_types());
+ << ModelTypeSetToString(status->updates_request_types());
}
if (updates.has_changes_remaining()) {
int64 changes_left = updates.changes_remaining();
« no previous file with comments | « sync/engine/resolve_conflicts_command_unittest.cc ('k') | sync/engine/sync_scheduler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698