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 // 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 COMPONENTS_METRICS_METRICS_LOG_H_ | 8 #ifndef COMPONENTS_METRICS_METRICS_LOG_H_ |
9 #define COMPONENTS_METRICS_METRICS_LOG_H_ | 9 #define COMPONENTS_METRICS_METRICS_LOG_H_ |
10 | 10 |
11 #include <stdint.h> | 11 #include <stdint.h> |
12 | 12 |
13 #include <string> | 13 #include <string> |
14 #include <vector> | 14 #include <vector> |
15 | 15 |
16 #include "base/macros.h" | 16 #include "base/macros.h" |
17 #include "base/time/time.h" | 17 #include "base/time/time.h" |
18 #include "components/metrics/metrics_service_client.h" | 18 #include "components/metrics/metrics_service_client.h" |
19 #include "components/metrics/proto/chrome_user_metrics_extension.pb.h" | 19 #include "components/metrics/proto/chrome_user_metrics_extension.pb.h" |
20 | 20 |
21 class PrefRegistrySimple; | 21 class PrefRegistrySimple; |
22 class PrefService; | 22 class PrefService; |
23 | 23 |
24 namespace base { | 24 namespace base { |
25 class DictionaryValue; | |
26 class HistogramSamples; | 25 class HistogramSamples; |
27 } | 26 } |
28 | 27 |
29 namespace content { | |
30 struct WebPluginInfo; | |
31 } | |
32 | |
33 namespace variations { | 28 namespace variations { |
34 struct ActiveGroupId; | 29 struct ActiveGroupId; |
35 } | 30 } |
36 | 31 |
37 namespace metrics { | 32 namespace metrics { |
38 | 33 |
39 class MetricsProvider; | 34 class MetricsProvider; |
40 class MetricsServiceClient; | 35 class MetricsServiceClient; |
41 | 36 |
42 class MetricsLog { | 37 class MetricsLog { |
(...skipping 156 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
199 const base::TimeTicks creation_time_; | 194 const base::TimeTicks creation_time_; |
200 | 195 |
201 PrefService* local_state_; | 196 PrefService* local_state_; |
202 | 197 |
203 DISALLOW_COPY_AND_ASSIGN(MetricsLog); | 198 DISALLOW_COPY_AND_ASSIGN(MetricsLog); |
204 }; | 199 }; |
205 | 200 |
206 } // namespace metrics | 201 } // namespace metrics |
207 | 202 |
208 #endif // COMPONENTS_METRICS_METRICS_LOG_H_ | 203 #endif // COMPONENTS_METRICS_METRICS_LOG_H_ |
OLD | NEW |