OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2011 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 #pragma once | 10 #pragma once |
11 | 11 |
| 12 #include <string> |
| 13 #include <vector> |
| 14 |
12 #include "base/basictypes.h" | 15 #include "base/basictypes.h" |
13 #include "chrome/common/metrics_helpers.h" | 16 #include "chrome/common/metrics_helpers.h" |
14 | 17 |
15 struct AutocompleteLog; | 18 struct AutocompleteLog; |
16 class GURL; | |
17 class PrefService; | 19 class PrefService; |
18 | 20 |
19 namespace base { | 21 namespace base { |
20 class DictionaryValue; | 22 class DictionaryValue; |
21 } | 23 } |
22 | 24 |
23 namespace webkit { | 25 namespace webkit { |
24 struct WebPluginInfo; | 26 struct WebPluginInfo; |
25 } | 27 } |
26 | 28 |
(...skipping 74 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
101 | 103 |
102 // Writes metrics for the profile identified by key. This writes all | 104 // Writes metrics for the profile identified by key. This writes all |
103 // key/value pairs in profile_metrics. | 105 // key/value pairs in profile_metrics. |
104 void WriteProfileMetrics(const std::string& key, | 106 void WriteProfileMetrics(const std::string& key, |
105 const base::DictionaryValue& profile_metrics); | 107 const base::DictionaryValue& profile_metrics); |
106 | 108 |
107 DISALLOW_COPY_AND_ASSIGN(MetricsLog); | 109 DISALLOW_COPY_AND_ASSIGN(MetricsLog); |
108 }; | 110 }; |
109 | 111 |
110 #endif // CHROME_BROWSER_METRICS_METRICS_LOG_H_ | 112 #endif // CHROME_BROWSER_METRICS_METRICS_LOG_H_ |
OLD | NEW |