| 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" | 7 #include "components/metrics/url_constants.h" |
| 8 | 8 |
| 9 namespace metrics { | 9 namespace metrics { |
| 10 | 10 |
| 11 ukm::UkmService* MetricsServiceClient::GetUkmService() { |
| 12 return nullptr; |
| 13 } |
| 14 |
| 11 base::string16 MetricsServiceClient::GetRegistryBackupKey() { | 15 base::string16 MetricsServiceClient::GetRegistryBackupKey() { |
| 12 return base::string16(); | 16 return base::string16(); |
| 13 } | 17 } |
| 14 | 18 |
| 15 bool MetricsServiceClient::IsReportingPolicyManaged() { | 19 bool MetricsServiceClient::IsReportingPolicyManaged() { |
| 16 return false; | 20 return false; |
| 17 } | 21 } |
| 18 | 22 |
| 19 EnableMetricsDefault MetricsServiceClient::GetMetricsReportingDefaultState() { | 23 EnableMetricsDefault MetricsServiceClient::GetMetricsReportingDefaultState() { |
| 20 return EnableMetricsDefault::DEFAULT_UNKNOWN; | 24 return EnableMetricsDefault::DEFAULT_UNKNOWN; |
| 21 } | 25 } |
| 22 | 26 |
| 23 bool MetricsServiceClient::IsUMACellularUploadLogicEnabled() { | 27 bool MetricsServiceClient::IsUMACellularUploadLogicEnabled() { |
| 24 return false; | 28 return false; |
| 25 } | 29 } |
| 26 | 30 |
| 27 std::string MetricsServiceClient::GetMetricsServerUrl() { | 31 std::string MetricsServiceClient::GetMetricsServerUrl() { |
| 28 return metrics::kDefaultMetricsServerUrl; | 32 return metrics::kDefaultMetricsServerUrl; |
| 29 } | 33 } |
| 30 | 34 |
| 31 } // namespace metrics | 35 } // namespace metrics |
| OLD | NEW |