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

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: fixes test failures. Created 6 years, 4 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 | « components/gcm_driver/gcm_client_impl_unittest.cc ('k') | components/gcm_driver/gcm_stats_recorder_impl.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..3c21a0b6908914629d3f029f744ea8472a6de909 100644
--- a/components/gcm_driver/gcm_stats_recorder_impl.h
+++ b/components/gcm_driver/gcm_stats_recorder_impl.h
@@ -147,7 +147,12 @@ class GCMStatsRecorderImpl : public GCMStatsRecorder {
std::deque<ReceivingActivity> receiving_activities_;
std::deque<SendingActivity> sending_activities_;
- base::Time last_received_data_message_burst_start_time_;
+ base::TimeTicks last_connection_initiation_time_;
+ base::TimeTicks last_connection_success_time_;
+ bool data_message_received_since_connected_;
+ base::TimeTicks last_received_data_message_burst_start_time_;
+ base::TimeTicks last_received_data_message_time_within_burst_;
+ int64 received_data_message_burst_size_;
DISALLOW_COPY_AND_ASSIGN(GCMStatsRecorderImpl);
};
« no previous file with comments | « components/gcm_driver/gcm_client_impl_unittest.cc ('k') | components/gcm_driver/gcm_stats_recorder_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698