| OLD | NEW |
| 1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 IOS_CHROME_BROWSER_METRICS_CHROME_STABILITY_METRICS_PROVIDER_H_ | 5 #ifndef IOS_CHROME_BROWSER_METRICS_IOS_CHROME_STABILITY_METRICS_PROVIDER_H_ |
| 6 #define IOS_CHROME_BROWSER_METRICS_CHROME_STABILITY_METRICS_PROVIDER_H_ | 6 #define IOS_CHROME_BROWSER_METRICS_IOS_CHROME_STABILITY_METRICS_PROVIDER_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/metrics/user_metrics.h" | 9 #include "base/metrics/user_metrics.h" |
| 10 #include "components/metrics/metrics_provider.h" | 10 #include "components/metrics/metrics_provider.h" |
| 11 #include "components/metrics/stability_metrics_helper.h" | 11 #include "components/metrics/stability_metrics_helper.h" |
| 12 #include "ios/web/public/web_state/global_web_state_observer.h" | 12 #include "ios/web/public/web_state/global_web_state_observer.h" |
| 13 | 13 |
| 14 class PrefService; | 14 class PrefService; |
| 15 | 15 |
| 16 // IOSChromeStabilityMetricsProvider gathers and logs Chrome-specific stability- | 16 // IOSChromeStabilityMetricsProvider gathers and logs Chrome-specific stability- |
| (...skipping 19 matching lines...) Expand all Loading... |
| 36 | 36 |
| 37 private: | 37 private: |
| 38 metrics::StabilityMetricsHelper helper_; | 38 metrics::StabilityMetricsHelper helper_; |
| 39 | 39 |
| 40 // True if recording is currently enabled. | 40 // True if recording is currently enabled. |
| 41 bool recording_enabled_; | 41 bool recording_enabled_; |
| 42 | 42 |
| 43 DISALLOW_COPY_AND_ASSIGN(IOSChromeStabilityMetricsProvider); | 43 DISALLOW_COPY_AND_ASSIGN(IOSChromeStabilityMetricsProvider); |
| 44 }; | 44 }; |
| 45 | 45 |
| 46 #endif // IOS_CHROME_BROWSER_METRICS_CHROME_STABILITY_METRICS_PROVIDER_H_ | 46 #endif // IOS_CHROME_BROWSER_METRICS_IOS_CHROME_STABILITY_METRICS_PROVIDER_H_ |
| OLD | NEW |