| 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 COMPONENTS_METRICS_STABILITY_METRICS_HELPER_H_ | 5 #ifndef COMPONENTS_METRICS_STABILITY_METRICS_HELPER_H_ |
| 6 #define COMPONENTS_METRICS_STABILITY_METRICS_HELPER_H_ | 6 #define COMPONENTS_METRICS_STABILITY_METRICS_HELPER_H_ |
| 7 | 7 |
| 8 #include "base/macros.h" | 8 #include "base/macros.h" |
| 9 #include "base/metrics/user_metrics.h" | |
| 10 #include "base/process/kill.h" | 9 #include "base/process/kill.h" |
| 11 | 10 |
| 12 class PrefRegistrySimple; | 11 class PrefRegistrySimple; |
| 13 class PrefService; | 12 class PrefService; |
| 14 | 13 |
| 15 namespace metrics { | 14 namespace metrics { |
| 16 | 15 |
| 17 class SystemProfileProto; | 16 class SystemProfileProto; |
| 18 | 17 |
| 19 // StabilityMetricsHelper is a class that providers functionality common to | 18 // StabilityMetricsHelper is a class that providers functionality common to |
| (...skipping 37 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 57 void IncrementLongPrefsValue(const char* path); | 56 void IncrementLongPrefsValue(const char* path); |
| 58 | 57 |
| 59 PrefService* local_state_; | 58 PrefService* local_state_; |
| 60 | 59 |
| 61 DISALLOW_COPY_AND_ASSIGN(StabilityMetricsHelper); | 60 DISALLOW_COPY_AND_ASSIGN(StabilityMetricsHelper); |
| 62 }; | 61 }; |
| 63 | 62 |
| 64 } // namespace metrics | 63 } // namespace metrics |
| 65 | 64 |
| 66 #endif // COMPONENTS_METRICS_STABILITY_METRICS_HELPER_H_ | 65 #endif // COMPONENTS_METRICS_STABILITY_METRICS_HELPER_H_ |
| OLD | NEW |