| 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 "chromecast/metrics/platform_metrics_providers.h" | 5 #include "chromecast/metrics/platform_metrics_providers.h" |
| 6 | 6 |
| 7 namespace chromecast { | 7 namespace chromecast { |
| 8 namespace metrics { | 8 namespace metrics { |
| 9 | 9 |
| 10 void RegisterPlatformMetricsProviders(MetricsService* metrics_service) { | 10 void RegisterPlatformMetricsProviders( |
| 11 ::metrics::MetricsService* metrics_service) { |
| 11 } | 12 } |
| 12 | 13 |
| 13 ::metrics::SystemProfileProto::Channel GetPlatformReleaseChannel() { | 14 ::metrics::SystemProfileProto::Channel GetPlatformReleaseChannel() { |
| 14 return ::metrics::SystemProfileProto::CHANNEL_STABLE; | 15 return ::metrics::SystemProfileProto::CHANNEL_STABLE; |
| 15 } | 16 } |
| 16 | 17 |
| 17 std::string GetPlatformVersionString() { | 18 std::string GetPlatformVersionString() { |
| 18 return ""; | 19 return ""; |
| 19 } | 20 } |
| 20 | 21 |
| 21 bool PlatformIsReportingEnabled() { | 22 bool PlatformIsReportingEnabled() { |
| 22 return false; | 23 return false; |
| 23 } | 24 } |
| 24 | 25 |
| 25 void PlatformSetClientID(const std::string& client_id) { | 26 void PlatformSetClientID(const std::string& client_id) { |
| 26 } | 27 } |
| 27 | 28 |
| 28 void PlatformOnLogUploadComplete() { | 29 void PlatformOnLogUploadComplete() { |
| 29 } | 30 } |
| 30 | 31 |
| 31 } // namespace metrics | 32 } // namespace metrics |
| 32 } // namespace chromecast | 33 } // namespace chromecast |
| OLD | NEW |