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

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

Issue 10455012: [Sync] Add support for performing a GetKey on startup. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fred's comments 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
Index: chrome/browser/sync/about_sync_util.cc
diff --git a/chrome/browser/sync/about_sync_util.cc b/chrome/browser/sync/about_sync_util.cc
index b0a56dcd991b04c676cacf8d9157722b90c590ce..c0487ad91bc8f8a3779af8d33736d3fab18caac1 100644
--- a/chrome/browser/sync/about_sync_util.cc
+++ b/chrome/browser/sync/about_sync_util.cc
@@ -197,6 +197,7 @@ scoped_ptr<DictionaryValue> ConstructAboutInformation(
ListValue* section_last_session = AddSection(
stats_list, "Status from Last Completed Session");
StringSyncStat session_source(section_last_session, "Sync Source");
+ StringSyncStat get_key_result(section_last_session, "GetKey Step Result");
StringSyncStat download_result(section_last_session, "Download Step Result");
StringSyncStat commit_result(section_last_session, "Commit Step Result");
@@ -297,6 +298,9 @@ scoped_ptr<DictionaryValue> ConstructAboutInformation(
if (snapshot.is_initialized()) {
session_source.SetValue(
syncer::GetUpdatesSourceString(snapshot.source().updates_source));
+ get_key_result.SetValue(
+ GetSyncerErrorString(
+ snapshot.model_neutral_state().last_get_key_result));
download_result.SetValue(
GetSyncerErrorString(
snapshot.model_neutral_state().last_download_updates_result));
« no previous file with comments | « no previous file | chrome/browser/sync/glue/sync_backend_host.cc » ('j') | chrome/browser/sync/glue/sync_backend_host.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698