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

Side by Side Diff: components/metrics/metrics_service_client.cc

Issue 2614533002: Add server_url and mime_type params to CreateUploader. (Closed)
Patch Set: Missing Include Created 3 years, 11 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 unified diff | Download patch
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "components/metrics/metrics_service_client.h" 5 #include "components/metrics/metrics_service_client.h"
6 6
7 #include "components/metrics/url_constants.h"
8
7 namespace metrics { 9 namespace metrics {
8 10
9 base::string16 MetricsServiceClient::GetRegistryBackupKey() { 11 base::string16 MetricsServiceClient::GetRegistryBackupKey() {
10 return base::string16(); 12 return base::string16();
11 } 13 }
12 14
13 bool MetricsServiceClient::IsReportingPolicyManaged() { 15 bool MetricsServiceClient::IsReportingPolicyManaged() {
14 return false; 16 return false;
15 } 17 }
16 18
17 EnableMetricsDefault MetricsServiceClient::GetMetricsReportingDefaultState() { 19 EnableMetricsDefault MetricsServiceClient::GetMetricsReportingDefaultState() {
18 return EnableMetricsDefault::DEFAULT_UNKNOWN; 20 return EnableMetricsDefault::DEFAULT_UNKNOWN;
19 } 21 }
20 22
21 bool MetricsServiceClient::IsUMACellularUploadLogicEnabled() { 23 bool MetricsServiceClient::IsUMACellularUploadLogicEnabled() {
22 return false; 24 return false;
23 } 25 }
24 26
27 std::string MetricsServiceClient::GetMetricsServerUrl() {
28 return metrics::kDefaultMetricsServerUrl;
29 }
30
25 } // namespace metrics 31 } // namespace metrics
OLDNEW
« no previous file with comments | « components/metrics/metrics_service_client.h ('k') | components/metrics/test_metrics_service_client.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698