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

Unified Diff: components/gcm_driver/gcm_client_impl_unittest.cc

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 | « no previous file | components/gcm_driver/gcm_stats_recorder_impl.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/gcm_driver/gcm_client_impl_unittest.cc
diff --git a/components/gcm_driver/gcm_client_impl_unittest.cc b/components/gcm_driver/gcm_client_impl_unittest.cc
index b477918152974ec16724a6c1ea87e3a30d105800..b7d31ebee800051b076a7b812575db33a88cc477 100644
--- a/components/gcm_driver/gcm_client_impl_unittest.cc
+++ b/components/gcm_driver/gcm_client_impl_unittest.cc
@@ -471,6 +471,8 @@ void GCMClientImplTest::StartGCMClient() {
}
void GCMClientImplTest::ReceiveMessageFromMCS(const MCSMessage& message) {
+ gcm_client_->recorder_.RecordConnectionInitiated(std::string());
+ gcm_client_->recorder_.RecordConnectionSuccess();
gcm_client_->OnMessageReceivedFromMCS(message);
}
« no previous file with comments | « no previous file | components/gcm_driver/gcm_stats_recorder_impl.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698