Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(41)

Side by Side Diff: chrome/browser/metrics/chromeos_metrics_provider.h

Issue 2530053003: chrome: Cleanup class/struct forward declarations (Closed)
Patch Set: Rebase + address comment Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_CHROMEOS_METRICS_PROVIDER_H_ 5 #ifndef CHROME_BROWSER_METRICS_CHROMEOS_METRICS_PROVIDER_H_
6 #define CHROME_BROWSER_METRICS_CHROMEOS_METRICS_PROVIDER_H_ 6 #define CHROME_BROWSER_METRICS_CHROMEOS_METRICS_PROVIDER_H_
7 7
8 #include <stdint.h> 8 #include <stdint.h>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
12 #include "chrome/browser/metrics/leak_detector/leak_detector_controller.h" 12 #include "chrome/browser/metrics/leak_detector/leak_detector_controller.h"
13 #include "chrome/browser/metrics/perf/perf_provider_chromeos.h" 13 #include "chrome/browser/metrics/perf/perf_provider_chromeos.h"
14 #include "components/metrics/metrics_provider.h" 14 #include "components/metrics/metrics_provider.h"
15 15
16 namespace device { 16 namespace device {
17 class BluetoothAdapter; 17 class BluetoothAdapter;
18 } 18 }
19 19
20 namespace metrics { 20 namespace metrics {
21 class ChromeUserMetricsExtension; 21 class ChromeUserMetricsExtension;
22 } 22 }
23 23
24 class PrefRegistrySimple; 24 class PrefRegistrySimple;
25 class PrefService;
26 25
27 // Performs ChromeOS specific metrics logging. 26 // Performs ChromeOS specific metrics logging.
28 class ChromeOSMetricsProvider : public metrics::MetricsProvider { 27 class ChromeOSMetricsProvider : public metrics::MetricsProvider {
29 public: 28 public:
30 // Possible device enrollment status for a Chrome OS device. 29 // Possible device enrollment status for a Chrome OS device.
31 // Used by UMA histogram, so entries shouldn't be reordered or removed. 30 // Used by UMA histogram, so entries shouldn't be reordered or removed.
32 enum EnrollmentStatus { 31 enum EnrollmentStatus {
33 NON_MANAGED, 32 NON_MANAGED,
34 UNUSED, // Formerly MANAGED_EDU, see crbug.com/462770. 33 UNUSED, // Formerly MANAGED_EDU, see crbug.com/462770.
35 MANAGED, 34 MANAGED,
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after
110 // Hardware class (e.g., hardware qualification ID). This class identifies 109 // Hardware class (e.g., hardware qualification ID). This class identifies
111 // the configured system components such as CPU, WiFi adapter, etc. 110 // the configured system components such as CPU, WiFi adapter, etc.
112 std::string hardware_class_; 111 std::string hardware_class_;
113 112
114 base::WeakPtrFactory<ChromeOSMetricsProvider> weak_ptr_factory_; 113 base::WeakPtrFactory<ChromeOSMetricsProvider> weak_ptr_factory_;
115 114
116 DISALLOW_COPY_AND_ASSIGN(ChromeOSMetricsProvider); 115 DISALLOW_COPY_AND_ASSIGN(ChromeOSMetricsProvider);
117 }; 116 };
118 117
119 #endif // CHROME_BROWSER_METRICS_CHROMEOS_METRICS_PROVIDER_H_ 118 #endif // CHROME_BROWSER_METRICS_CHROMEOS_METRICS_PROVIDER_H_
OLDNEW
« no previous file with comments | « chrome/browser/metrics/chrome_metrics_service_client.h ('k') | chrome/browser/metrics/metrics_reporting_state.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698