OLD | NEW |
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2012 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 // This file defines a set of user experience metrics data recorded by | 5 // This file defines a set of user experience metrics data recorded by |
6 // the MetricsService. This is the unit of data that is sent to the server. | 6 // the MetricsService. This is the unit of data that is sent to the server. |
7 | 7 |
8 #ifndef CHROME_BROWSER_METRICS_METRICS_LOG_H_ | 8 #ifndef CHROME_BROWSER_METRICS_METRICS_LOG_H_ |
9 #define CHROME_BROWSER_METRICS_METRICS_LOG_H_ | 9 #define CHROME_BROWSER_METRICS_METRICS_LOG_H_ |
10 | 10 |
11 #include <string> | 11 #include <string> |
12 #include <vector> | 12 #include <vector> |
13 | 13 |
14 #include "base/basictypes.h" | 14 #include "base/basictypes.h" |
15 #include "chrome/browser/metrics/extension_metrics.h" | 15 #include "chrome/browser/metrics/extension_metrics.h" |
16 #include "chrome/browser/metrics/metrics_network_observer.h" | 16 #include "chrome/browser/metrics/metrics_network_observer.h" |
17 #include "chrome/common/metrics/variations/variations_util.h" | 17 #include "chrome/common/variations/variations_util.h" |
18 #include "chrome/installer/util/google_update_settings.h" | 18 #include "chrome/installer/util/google_update_settings.h" |
19 #include "components/metrics/metrics_log_base.h" | 19 #include "components/metrics/metrics_log_base.h" |
20 #include "ui/gfx/size.h" | 20 #include "ui/gfx/size.h" |
21 | 21 |
22 class HashedExtensionMetrics; | 22 class HashedExtensionMetrics; |
23 class MetricsNetworkObserver; | 23 class MetricsNetworkObserver; |
24 class PrefService; | 24 class PrefService; |
25 class PrefRegistrySimple; | 25 class PrefRegistrySimple; |
26 | 26 |
27 #if defined(OS_CHROMEOS) | 27 #if defined(OS_CHROMEOS) |
(...skipping 166 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
194 // The time when the current log was created. | 194 // The time when the current log was created. |
195 const base::TimeTicks creation_time_; | 195 const base::TimeTicks creation_time_; |
196 | 196 |
197 // For including information on which extensions are installed in reports. | 197 // For including information on which extensions are installed in reports. |
198 HashedExtensionMetrics extension_metrics_; | 198 HashedExtensionMetrics extension_metrics_; |
199 | 199 |
200 DISALLOW_COPY_AND_ASSIGN(MetricsLog); | 200 DISALLOW_COPY_AND_ASSIGN(MetricsLog); |
201 }; | 201 }; |
202 | 202 |
203 #endif // CHROME_BROWSER_METRICS_METRICS_LOG_H_ | 203 #endif // CHROME_BROWSER_METRICS_METRICS_LOG_H_ |
OLD | NEW |