| 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/cast_metrics_service_client.h" | 5 #include "chromecast/browser/metrics/cast_metrics_service_client.h" |
| 6 | 6 |
| 7 #include "base/command_line.h" | 7 #include "base/command_line.h" |
| 8 #include "base/i18n/rtl.h" | 8 #include "base/i18n/rtl.h" |
| 9 #include "chromecast/browser/metrics/cast_stability_metrics_provider.h" |
| 10 #include "chromecast/browser/metrics/platform_metrics_providers.h" |
| 9 #include "chromecast/common/chromecast_config.h" | 11 #include "chromecast/common/chromecast_config.h" |
| 10 #include "chromecast/common/chromecast_switches.h" | 12 #include "chromecast/common/chromecast_switches.h" |
| 11 #include "chromecast/metrics/cast_stability_metrics_provider.h" | |
| 12 #include "chromecast/metrics/platform_metrics_providers.h" | |
| 13 #include "components/metrics/client_info.h" | 13 #include "components/metrics/client_info.h" |
| 14 #include "components/metrics/gpu/gpu_metrics_provider.h" | 14 #include "components/metrics/gpu/gpu_metrics_provider.h" |
| 15 #include "components/metrics/metrics_provider.h" | 15 #include "components/metrics/metrics_provider.h" |
| 16 #include "components/metrics/metrics_service.h" | 16 #include "components/metrics/metrics_service.h" |
| 17 #include "components/metrics/metrics_state_manager.h" | 17 #include "components/metrics/metrics_state_manager.h" |
| 18 #include "components/metrics/net/net_metrics_log_uploader.h" | 18 #include "components/metrics/net/net_metrics_log_uploader.h" |
| 19 #include "components/metrics/net/network_metrics_provider.h" | 19 #include "components/metrics/net/network_metrics_provider.h" |
| 20 #include "components/metrics/profiler/profiler_metrics_provider.h" | 20 #include "components/metrics/profiler/profiler_metrics_provider.h" |
| 21 | 21 |
| 22 namespace chromecast { | 22 namespace chromecast { |
| (...skipping 151 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 174 | 174 |
| 175 CastMetricsServiceClient::~CastMetricsServiceClient() { | 175 CastMetricsServiceClient::~CastMetricsServiceClient() { |
| 176 } | 176 } |
| 177 | 177 |
| 178 bool CastMetricsServiceClient::IsReportingEnabled() { | 178 bool CastMetricsServiceClient::IsReportingEnabled() { |
| 179 return PlatformIsReportingEnabled(); | 179 return PlatformIsReportingEnabled(); |
| 180 } | 180 } |
| 181 | 181 |
| 182 } // namespace metrics | 182 } // namespace metrics |
| 183 } // namespace chromecast | 183 } // namespace chromecast |
| OLD | NEW |