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

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

Issue 2567263003: Basic UkmService implementation (Closed)
Patch Set: RegisterPrefs 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" 7 #include "components/metrics/url_constants.h"
8 8
9 namespace metrics { 9 namespace metrics {
10 10
11 ukm::UkmService* MetricsServiceClient::GetUkmService() {
12 return NULL;
Alexei Svitkine (slow) 2017/01/10 17:37:19 nullptr
Steven Holte 2017/01/10 22:52:44 Done.
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698