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

Unified Diff: components/metrics/net/net_metrics_log_uploader_unittest.cc

Issue 2774503002: Track network stack error codes from UMA and UKM (Closed)
Patch Set: Rebase on Created 3 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 | « components/metrics/net/net_metrics_log_uploader.cc ('k') | components/metrics/reporting_service.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/metrics/net/net_metrics_log_uploader_unittest.cc
diff --git a/components/metrics/net/net_metrics_log_uploader_unittest.cc b/components/metrics/net/net_metrics_log_uploader_unittest.cc
index 14258f71b20e1dfc761d943cc886a7b50de863c9..70d94fd7033649c076b2be530ffa58b0da9f2e2e 100644
--- a/components/metrics/net/net_metrics_log_uploader_unittest.cc
+++ b/components/metrics/net/net_metrics_log_uploader_unittest.cc
@@ -24,7 +24,7 @@ class NetMetricsLogUploaderTest : public testing::Test {
uploader_->UploadLog("initial_dummy_data", "initial_dummy_hash");
}
- void OnUploadCompleteReuseUploader(int response_code) {
+ void OnUploadCompleteReuseUploader(int response_code, int error_code) {
++on_upload_complete_count_;
if (on_upload_complete_count_ == 1)
uploader_->UploadLog("dummy_data", "dummy_hash");
« no previous file with comments | « components/metrics/net/net_metrics_log_uploader.cc ('k') | components/metrics/reporting_service.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698