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

Unified Diff: google_apis/gcm/gcm_client.cc

Issue 202083005: Add activity recording capability to gcm internals page. User can refresh, start/stop recording, an… (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Address all code reviews. Created 6 years, 9 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: google_apis/gcm/gcm_client.cc
diff --git a/google_apis/gcm/gcm_client.cc b/google_apis/gcm/gcm_client.cc
index 3bdd699b2dff9b6f93a4b8eb7cf8a96ed972e842..fbc90bef62e931c8cfde56ff3552a9fa4de4f299 100644
--- a/google_apis/gcm/gcm_client.cc
+++ b/google_apis/gcm/gcm_client.cc
@@ -24,7 +24,12 @@ GCMClient::SendErrorDetails::SendErrorDetails() : result(UNKNOWN_ERROR) {}
GCMClient::SendErrorDetails::~SendErrorDetails() {}
GCMClient::GCMStatistics::GCMStatistics()
- : gcm_client_created(false), connection_client_created(false) {
+ : is_recording(false),
+ gcm_client_created(false),
+ connection_client_created(false),
+ android_id(0),
+ send_queue_size(0),
+ unacked_queue_size(0) {
}
GCMClient::GCMStatistics::~GCMStatistics() {

Powered by Google App Engine
This is Rietveld 408576698