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