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
3 // found in the LICENSE file.
5 #include "chromecast/browser/metrics/platform_metrics_providers.h"
10 void RegisterPlatformMetricsProviders(
11 ::metrics::MetricsService
* metrics_service
,
12 CastService
* cast_servce
) {
15 const std::string
GetPlatformClientID(CastService
* cast_servce
) {
19 ::metrics::SystemProfileProto::Channel
GetPlatformReleaseChannel(
20 CastService
* cast_servce
) {
21 return ::metrics::SystemProfileProto::CHANNEL_STABLE
;
24 std::string
GetPlatformVersionString(CastService
* cast_servce
) {
28 bool PlatformIsReportingEnabled(CastService
* cast_service
) {
32 void PlatformSetClientID(CastService
* cast_servce
,
33 const std::string
& client_id
) {
36 void PlatformOnLogUploadComplete(CastService
* cast_servce
) {
39 } // namespace metrics
40 } // namespace chromecast