| 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_ANDROID_METRICS_PROVIDER_H_ | 5 #ifndef CHROME_BROWSER_METRICS_ANDROID_METRICS_PROVIDER_H_ |
| 6 #define CHROME_BROWSER_METRICS_ANDROID_METRICS_PROVIDER_H_ | 6 #define CHROME_BROWSER_METRICS_ANDROID_METRICS_PROVIDER_H_ |
| 7 | 7 |
| 8 #include "base/basictypes.h" | 8 #include "base/macros.h" |
| 9 #include "chrome/browser/android/activity_type_ids.h" | 9 #include "chrome/browser/android/activity_type_ids.h" |
| 10 #include "components/metrics/metrics_provider.h" | 10 #include "components/metrics/metrics_provider.h" |
| 11 | 11 |
| 12 class PrefService; | 12 class PrefService; |
| 13 class PrefRegistrySimple; | 13 class PrefRegistrySimple; |
| 14 | 14 |
| 15 namespace metrics { | 15 namespace metrics { |
| 16 class ChromeUserMetricsExtension; | 16 class ChromeUserMetricsExtension; |
| 17 } | 17 } |
| 18 | 18 |
| (...skipping 24 matching lines...) Expand all Loading... |
| 43 // Converts crash stats stored in the preferences into histograms. | 43 // Converts crash stats stored in the preferences into histograms. |
| 44 void ConvertStabilityPrefsToHistograms(); | 44 void ConvertStabilityPrefsToHistograms(); |
| 45 | 45 |
| 46 // Weak pointer to the local state prefs store. | 46 // Weak pointer to the local state prefs store. |
| 47 PrefService* local_state_; | 47 PrefService* local_state_; |
| 48 | 48 |
| 49 DISALLOW_COPY_AND_ASSIGN(AndroidMetricsProvider); | 49 DISALLOW_COPY_AND_ASSIGN(AndroidMetricsProvider); |
| 50 }; | 50 }; |
| 51 | 51 |
| 52 #endif // CHROME_BROWSER_METRICS_ANDROID_METRICS_PROVIDER_H_ | 52 #endif // CHROME_BROWSER_METRICS_ANDROID_METRICS_PROVIDER_H_ |
| OLD | NEW |