| Index: chrome/browser/metrics/chromeos_metrics_provider.h
|
| diff --git a/chrome/browser/metrics/chromeos_metrics_provider.h b/chrome/browser/metrics/chromeos_metrics_provider.h
|
| index 934a3cfca8e79d68955067a7c55c3220500afa0d..ac36b961b5f43c80f1fc39b7a61ba9d2ce3d5294 100644
|
| --- a/chrome/browser/metrics/chromeos_metrics_provider.h
|
| +++ b/chrome/browser/metrics/chromeos_metrics_provider.h
|
| @@ -30,6 +30,11 @@ class ChromeOSMetricsProvider : public metrics::MetricsProvider {
|
| // Records a crash.
|
| static void LogCrash(const std::string& crash_type);
|
|
|
| + // Called on the FILE thread to load hardware class information. When this
|
| + // task is complete, |callback| is run on |target_loop|.
|
| + void InitTaskGetHardwareClass(base::MessageLoopProxy* target_loop,
|
| + const base::Closure& callback);
|
| +
|
| // metrics::MetricsProvider:
|
| virtual void OnDidCreateMetricsLog() OVERRIDE;
|
| virtual void ProvideSystemProfileMetrics(
|
| @@ -65,6 +70,10 @@ class ChromeOSMetricsProvider : public metrics::MetricsProvider {
|
| // true.
|
| uint64 user_count_at_log_initialization_;
|
|
|
| + // Hardware class (e.g., hardware qualification ID). This class identifies
|
| + // the configured system components such as CPU, WiFi adapter, etc.
|
| + std::string hardware_class_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(ChromeOSMetricsProvider);
|
| };
|
|
|
|
|