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

Unified Diff: chromecast/browser/metrics/cast_metrics_service_client.cc

Issue 2922493002: Default to new metrics service URL for non-Cast clients. (Closed)
Patch Set: Created 3 years, 7 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 | « chromecast/browser/metrics/OWNERS ('k') | components/metrics/metrics_service_client.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromecast/browser/metrics/cast_metrics_service_client.cc
diff --git a/chromecast/browser/metrics/cast_metrics_service_client.cc b/chromecast/browser/metrics/cast_metrics_service_client.cc
index c7ecddf670e850a2e7311764df63971ec04cc618..d769bf7bae95a9a5327a1a1313ae94331fbe2371 100644
--- a/chromecast/browser/metrics/cast_metrics_service_client.cc
+++ b/chromecast/browser/metrics/cast_metrics_service_client.cc
@@ -243,7 +243,9 @@ std::string CastMetricsServiceClient::GetMetricsServerUrl() {
return command_line->GetSwitchValueASCII(
switches::kOverrideMetricsUploadUrl);
}
- return ::metrics::MetricsServiceClient::GetMetricsServerUrl();
+ // Note: This uses the old metrics service URL because some server-side
+ // provisioning is needed to support the extra Cast traffic on the new URL.
+ return ::metrics::kOldMetricsServerUrl;
}
std::unique_ptr<::metrics::MetricsLogUploader>
« no previous file with comments | « chromecast/browser/metrics/OWNERS ('k') | components/metrics/metrics_service_client.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698