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

Unified Diff: chrome/browser/sync/engine/syncer.cc

Issue 7024058: [Sync] Clean up sync logging (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix comments Created 9 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 | « chrome/browser/sync/engine/syncapi_unittest.cc ('k') | chrome/browser/sync/engine/syncer_thread.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/engine/syncer.cc
diff --git a/chrome/browser/sync/engine/syncer.cc b/chrome/browser/sync/engine/syncer.cc
index e23c40ba60fdf9bba69163b82ebaf75be44d1b28..6352701eeac0b89a73bc1200ac072bdfc3101e0d 100644
--- a/chrome/browser/sync/engine/syncer.cc
+++ b/chrome/browser/sync/engine/syncer.cc
@@ -268,12 +268,20 @@ void Syncer::SyncShare(sessions::SyncSession* session,
default:
LOG(ERROR) << "Unknown command: " << current_step;
}
+ VLOG(2) << "last step: " << last_step << ", current step: "
+ << current_step << ", next step: "
+ << next_step << ", snapshot: "
+ << session->TakeSnapshot().ToString();
if (last_step == current_step)
break;
current_step = next_step;
}
VLOG(1) << "Syncer End";
+ VLOG(2) << "last step: " << last_step << ", current step: "
+ << current_step << ", next step: "
+ << next_step << ", snapshot: "
+ << session->TakeSnapshot().ToString();
SyncerEndCommand syncer_end_command;
syncer_end_command.Execute(session);
return;
« no previous file with comments | « chrome/browser/sync/engine/syncapi_unittest.cc ('k') | chrome/browser/sync/engine/syncer_thread.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698