| 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 5138a3ce5a7d86bf9947fe0e2b8458604a827a9a..26c6f375f1dc0aaaaf25e576944b2f038672c115 100644
|
| --- a/chrome/browser/sync/about_sync_util.cc
|
| +++ b/chrome/browser/sync/about_sync_util.cc
|
| @@ -253,6 +253,14 @@ scoped_ptr<DictionaryValue> ConstructAboutInformation(
|
| IntSyncStat committed_count(section_that_cycle, "Committed Count");
|
| IntSyncStat entries(section_that_cycle, "Entries");
|
|
|
| + ListValue* section_nudge_info = AddSection(
|
| + stats_list, "Nudge Source Counters");
|
| + IntSyncStat nudge_source_notification(
|
| + section_nudge_info, "Server Invalidations");
|
| + IntSyncStat nudge_source_local(section_nudge_info, "Local Changes");
|
| + IntSyncStat nudge_source_continuation(section_nudge_info, "Continuations");
|
| + IntSyncStat nudge_source_local_refresh(section_nudge_info, "Local Refreshes");
|
| +
|
| // This list of sections belongs in the 'details' field of the returned
|
| // message.
|
| about_info->Set("details", stats_list);
|
| @@ -359,6 +367,13 @@ scoped_ptr<DictionaryValue> ConstructAboutInformation(
|
| updates_remaining.SetValue(full_status.updates_available);
|
| }
|
|
|
| + if (is_status_valid) {
|
| + nudge_source_notification.SetValue(full_status.nudge_source_notification);
|
| + nudge_source_local.SetValue(full_status.nudge_source_local);
|
| + nudge_source_continuation.SetValue(full_status.nudge_source_continuation);
|
| + nudge_source_local_refresh.SetValue(full_status.nudge_source_local_refresh);
|
| + }
|
| +
|
| if (snapshot.is_initialized()) {
|
| updates_downloaded.SetValue(
|
| snapshot.model_neutral_state().num_updates_downloaded_total);
|
|
|