OLD | NEW |
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 |
OLD | NEW |