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

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

Issue 1550593002: Switch to standard integer types in chrome/browser/, part 2 of 4. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 12 months 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>
9
10 #include "base/macros.h"
8 #include "base/memory/weak_ptr.h" 11 #include "base/memory/weak_ptr.h"
9 #include "chrome/browser/metrics/perf/perf_provider_chromeos.h" 12 #include "chrome/browser/metrics/perf/perf_provider_chromeos.h"
10 #include "components/metrics/metrics_provider.h" 13 #include "components/metrics/metrics_provider.h"
11 14
12 namespace device { 15 namespace device {
13 class BluetoothAdapter; 16 class BluetoothAdapter;
14 } 17 }
15 18
16 namespace metrics { 19 namespace metrics {
17 class ChromeUserMetricsExtension; 20 class ChromeUserMetricsExtension;
(...skipping 63 matching lines...) Expand 10 before | Expand all | Expand 10 after
81 84
82 // Bluetooth Adapter instance for collecting information about paired devices. 85 // Bluetooth Adapter instance for collecting information about paired devices.
83 scoped_refptr<device::BluetoothAdapter> adapter_; 86 scoped_refptr<device::BluetoothAdapter> adapter_;
84 87
85 // Whether the user count was registered at the last log initialization. 88 // Whether the user count was registered at the last log initialization.
86 bool registered_user_count_at_log_initialization_; 89 bool registered_user_count_at_log_initialization_;
87 90
88 // The user count at the time that a log was last initialized. Contains a 91 // The user count at the time that a log was last initialized. Contains a
89 // valid value only if |registered_user_count_at_log_initialization_| is 92 // valid value only if |registered_user_count_at_log_initialization_| is
90 // true. 93 // true.
91 uint64 user_count_at_log_initialization_; 94 uint64_t user_count_at_log_initialization_;
92 95
93 // Hardware class (e.g., hardware qualification ID). This class identifies 96 // Hardware class (e.g., hardware qualification ID). This class identifies
94 // the configured system components such as CPU, WiFi adapter, etc. 97 // the configured system components such as CPU, WiFi adapter, etc.
95 std::string hardware_class_; 98 std::string hardware_class_;
96 99
97 base::WeakPtrFactory<ChromeOSMetricsProvider> weak_ptr_factory_; 100 base::WeakPtrFactory<ChromeOSMetricsProvider> weak_ptr_factory_;
98 101
99 DISALLOW_COPY_AND_ASSIGN(ChromeOSMetricsProvider); 102 DISALLOW_COPY_AND_ASSIGN(ChromeOSMetricsProvider);
100 }; 103 };
101 104
102 #endif // CHROME_BROWSER_METRICS_CHROMEOS_METRICS_PROVIDER_H_ 105 #endif // CHROME_BROWSER_METRICS_CHROMEOS_METRICS_PROVIDER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698