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