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

Unified Diff: chrome/browser/ui/webui/gcm_internals_ui.cc

Issue 248213004: Record connection, registration, and receiving activities. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: . Created 6 years, 8 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 | google_apis/gcm/engine/connection_factory_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/ui/webui/gcm_internals_ui.cc
diff --git a/chrome/browser/ui/webui/gcm_internals_ui.cc b/chrome/browser/ui/webui/gcm_internals_ui.cc
index 2130cd88f1ebacf1a86e1852e4e69f8c57744934..54779c57c60c2668e91aea8a0838bacabb782d8b 100644
--- a/chrome/browser/ui/webui/gcm_internals_ui.cc
+++ b/chrome/browser/ui/webui/gcm_internals_ui.cc
@@ -116,10 +116,10 @@ void GcmInternalsUIMessageHandler::ReturnResults(
device_info->SetInteger("sendQueueSize", stats->send_queue_size);
device_info->SetInteger("resendQueueSize", stats->resend_queue_size);
- if (stats->sending_activities.size() > 0) {
+ if (stats->recorded_activities.sending_activities.size() > 0) {
base::ListValue* send_info = new base::ListValue();
results.Set("sendInfo", send_info);
- SetSendingInfo(stats->sending_activities, send_info);
+ SetSendingInfo(stats->recorded_activities.sending_activities, send_info);
}
}
web_ui()->CallJavascriptFunction("gcmInternals.setGcmInternalsInfo",
« no previous file with comments | « no previous file | google_apis/gcm/engine/connection_factory_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698