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 CHROME_BROWSER_METRICS_CHROME_STABILITY_METRICS_PROVIDER_H_ | 5 #ifndef CHROME_BROWSER_METRICS_CHROME_STABILITY_METRICS_PROVIDER_H_ |
6 #define CHROME_BROWSER_METRICS_CHROME_STABILITY_METRICS_PROVIDER_H_ | 6 #define CHROME_BROWSER_METRICS_CHROME_STABILITY_METRICS_PROVIDER_H_ |
7 | 7 |
8 #include "base/gtest_prod_util.h" | 8 #include "base/gtest_prod_util.h" |
9 #include "base/macros.h" | 9 #include "base/macros.h" |
10 #include "base/metrics/user_metrics.h" | |
11 #include "base/process/kill.h" | 10 #include "base/process/kill.h" |
12 #include "components/metrics/metrics_provider.h" | 11 #include "components/metrics/metrics_provider.h" |
13 #include "components/metrics/stability_metrics_helper.h" | 12 #include "components/metrics/stability_metrics_helper.h" |
14 #include "content/public/browser/browser_child_process_observer.h" | 13 #include "content/public/browser/browser_child_process_observer.h" |
15 #include "content/public/browser/notification_observer.h" | 14 #include "content/public/browser/notification_observer.h" |
16 #include "content/public/browser/notification_registrar.h" | 15 #include "content/public/browser/notification_registrar.h" |
17 | 16 |
18 class PrefService; | 17 class PrefService; |
19 | 18 |
20 // ChromeStabilityMetricsProvider gathers and logs Chrome-specific stability- | 19 // ChromeStabilityMetricsProvider gathers and logs Chrome-specific stability- |
(...skipping 31 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
52 | 51 |
53 metrics::StabilityMetricsHelper helper_; | 52 metrics::StabilityMetricsHelper helper_; |
54 | 53 |
55 // Registrar for receiving stability-related notifications. | 54 // Registrar for receiving stability-related notifications. |
56 content::NotificationRegistrar registrar_; | 55 content::NotificationRegistrar registrar_; |
57 | 56 |
58 DISALLOW_COPY_AND_ASSIGN(ChromeStabilityMetricsProvider); | 57 DISALLOW_COPY_AND_ASSIGN(ChromeStabilityMetricsProvider); |
59 }; | 58 }; |
60 | 59 |
61 #endif // CHROME_BROWSER_METRICS_CHROME_STABILITY_METRICS_PROVIDER_H_ | 60 #endif // CHROME_BROWSER_METRICS_CHROME_STABILITY_METRICS_PROVIDER_H_ |
OLD | NEW |