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

Unified Diff: chrome/browser/sync/sync_ui_util.cc

Issue 9429064: Export syncer return values to about:sync (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Add process commit response info Created 8 years, 10 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 | « no previous file | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/sync/sync_ui_util.cc
diff --git a/chrome/browser/sync/sync_ui_util.cc b/chrome/browser/sync/sync_ui_util.cc
index d0cca9d1f78dbd44098454b9241a5d22e82b60a5..928a4f301748b32e3ab875122d2b4ee25b8e3fc3 100644
--- a/chrome/browser/sync/sync_ui_util.cc
+++ b/chrome/browser/sync/sync_ui_util.cc
@@ -649,6 +649,16 @@ void ConstructAboutInformation(ProfileSyncService* service,
sync_ui_util::AddStringSyncDetails(details, "Last Sync Source",
browser_sync::GetUpdatesSourceString(
snapshot->source.updates_source));
+ sync_ui_util::AddStringSyncDetails(
rlarocque 2012/02/22 22:01:52 Note: There are two snapshot-like structures avail
lipalani1 2012/02/22 22:09:24 That part is fine. But is there any value in cachi
rlarocque 2012/02/22 22:22:37 There would be some value, but I don't think it's
+ details, "Last Sync's GetUpdates Result",
+ GetSyncerErrorString(snapshot->errors.last_download_updates_result));
+ sync_ui_util::AddStringSyncDetails(
+ details, "Last Sync's Post Commit Result",
+ GetSyncerErrorString(snapshot->errors.last_post_commit_result));
+ sync_ui_util::AddStringSyncDetails(
+ details, "Last Sync's Process Commit Response Result",
+ GetSyncerErrorString(
+ snapshot->errors.last_process_commit_response_result));
// Print the count of entries from snapshot. Warning: This might be
// slightly out of date if there are client side changes that are yet
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698