| 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 <string> | 11 #include <string> |
| 12 #include <vector> | 12 #include <vector> |
| 13 | 13 |
| 14 #include "base/basictypes.h" | 14 #include "base/basictypes.h" |
| 15 #include "base/time/time.h" | 15 #include "base/time/time.h" |
| 16 #include "components/metrics/proto/chrome_user_metrics_extension.pb.h" | 16 #include "components/metrics/proto/chrome_user_metrics_extension.pb.h" |
| 17 | 17 |
| 18 class PrefRegistrySimple; | 18 class PrefRegistrySimple; |
| 19 class PrefService; | 19 class PrefService; |
| 20 | 20 |
| 21 namespace base { | 21 namespace base { |
| 22 class DictionaryValue; | 22 class DictionaryValue; |
| 23 class HistogramSamples; | 23 class HistogramSamples; |
| 24 } | 24 } |
| 25 | 25 |
| 26 namespace content { | 26 namespace content { |
| 27 struct WebPluginInfo; | 27 struct WebPluginInfo; |
| 28 } | 28 } |
| 29 | 29 |
| 30 namespace tracked_objects { | |
| 31 struct ProcessDataSnapshot; | |
| 32 } | |
| 33 | |
| 34 namespace variations { | 30 namespace variations { |
| 35 struct ActiveGroupId; | 31 struct ActiveGroupId; |
| 36 } | 32 } |
| 37 | 33 |
| 38 namespace metrics { | 34 namespace metrics { |
| 39 | 35 |
| 40 class MetricsProvider; | 36 class MetricsProvider; |
| 41 class MetricsServiceClient; | 37 class MetricsServiceClient; |
| 42 | 38 |
| 43 class MetricsLog { | 39 class MetricsLog { |
| (...skipping 148 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 192 const base::TimeTicks creation_time_; | 188 const base::TimeTicks creation_time_; |
| 193 | 189 |
| 194 PrefService* local_state_; | 190 PrefService* local_state_; |
| 195 | 191 |
| 196 DISALLOW_COPY_AND_ASSIGN(MetricsLog); | 192 DISALLOW_COPY_AND_ASSIGN(MetricsLog); |
| 197 }; | 193 }; |
| 198 | 194 |
| 199 } // namespace metrics | 195 } // namespace metrics |
| 200 | 196 |
| 201 #endif // COMPONENTS_METRICS_METRICS_LOG_H_ | 197 #endif // COMPONENTS_METRICS_METRICS_LOG_H_ |
| OLD | NEW |