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

Unified Diff: components/gcm_driver/gcm_stats_recorder_impl.h

Issue 409653004: Record latencies of connection and arrival of first message in UMA (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Addresses Filip's comments. Created 6 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: components/gcm_driver/gcm_stats_recorder_impl.h
diff --git a/components/gcm_driver/gcm_stats_recorder_impl.h b/components/gcm_driver/gcm_stats_recorder_impl.h
index 2a7f78da1d538ed04347f3f00021b6ac5d1e47c6..159b1e581dc294e3671a5d4e8f9d668521d913ed 100644
--- a/components/gcm_driver/gcm_stats_recorder_impl.h
+++ b/components/gcm_driver/gcm_stats_recorder_impl.h
@@ -147,6 +147,9 @@ class GCMStatsRecorderImpl : public GCMStatsRecorder {
std::deque<ReceivingActivity> receiving_activities_;
std::deque<SendingActivity> sending_activities_;
+ base::Time last_connection_initiation_time_;
+ base::Time last_connection_success_time_;
+ bool data_message_received_since_connected_;
base::Time last_received_data_message_burst_start_time_;
DISALLOW_COPY_AND_ASSIGN(GCMStatsRecorderImpl);
« no previous file with comments | « no previous file | components/gcm_driver/gcm_stats_recorder_impl.cc » ('j') | components/gcm_driver/gcm_stats_recorder_impl.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698