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 #ifndef CHROMECAST_BROWSER_METRICS_CAST_STABILITY_METRICS_PROVIDER_H_ | 5 #ifndef CHROMECAST_BROWSER_METRICS_CAST_STABILITY_METRICS_PROVIDER_H_ |
6 #define CHROMECAST_BROWSER_METRICS_CAST_STABILITY_METRICS_PROVIDER_H_ | 6 #define CHROMECAST_BROWSER_METRICS_CAST_STABILITY_METRICS_PROVIDER_H_ |
7 | 7 |
8 #include "base/macros.h" | 8 #include "base/macros.h" |
9 #include "base/process/kill.h" | 9 #include "base/process/kill.h" |
10 #include "components/metrics/metrics_provider.h" | 10 #include "components/metrics/metrics_provider.h" |
11 #include "content/public/browser/browser_child_process_observer.h" | 11 #include "content/public/browser/browser_child_process_observer.h" |
12 #include "content/public/browser/notification_observer.h" | 12 #include "content/public/browser/notification_observer.h" |
13 #include "content/public/browser/notification_registrar.h" | 13 #include "content/public/browser/notification_registrar.h" |
14 | 14 |
15 class PrefRegistrySimple; | 15 class PrefRegistrySimple; |
16 | 16 |
17 namespace content { | 17 namespace content { |
18 class RenderProcessHost; | 18 class RenderProcessHost; |
19 class WebContents; | |
20 } | 19 } |
21 | 20 |
22 namespace metrics { | 21 namespace metrics { |
23 class MetricsService; | 22 class MetricsService; |
24 } | 23 } |
25 | 24 |
26 namespace chromecast { | 25 namespace chromecast { |
27 namespace metrics { | 26 namespace metrics { |
28 | 27 |
29 // CastStabilityMetricsProvider gathers and logs stability-related metrics. | 28 // CastStabilityMetricsProvider gathers and logs stability-related metrics. |
(...skipping 46 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
76 // CastStabilityMetricsProvider. | 75 // CastStabilityMetricsProvider. |
77 ::metrics::MetricsService* metrics_service_; | 76 ::metrics::MetricsService* metrics_service_; |
78 | 77 |
79 DISALLOW_COPY_AND_ASSIGN(CastStabilityMetricsProvider); | 78 DISALLOW_COPY_AND_ASSIGN(CastStabilityMetricsProvider); |
80 }; | 79 }; |
81 | 80 |
82 } // namespace metrics | 81 } // namespace metrics |
83 } // namespace chromecast | 82 } // namespace chromecast |
84 | 83 |
85 #endif // CHROMECAST_BROWSER_METRICS_CAST_STABILITY_METRICS_PROVIDER_H_ | 84 #endif // CHROMECAST_BROWSER_METRICS_CAST_STABILITY_METRICS_PROVIDER_H_ |
OLD | NEW |