| 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 "content/common/page_transition_types.h" | |
| 15 | 14 |
| 16 struct AutocompleteLog; | 15 struct AutocompleteLog; |
| 17 class GURL; | 16 class GURL; |
| 18 class PrefService; | 17 class PrefService; |
| 19 | 18 |
| 20 namespace base { | 19 namespace base { |
| 21 class DictionaryValue; | 20 class DictionaryValue; |
| 22 } | 21 } |
| 23 | 22 |
| 24 namespace webkit { | 23 namespace webkit { |
| (...skipping 77 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 102 | 101 |
| 103 // Writes metrics for the profile identified by key. This writes all | 102 // Writes metrics for the profile identified by key. This writes all |
| 104 // key/value pairs in profile_metrics. | 103 // key/value pairs in profile_metrics. |
| 105 void WriteProfileMetrics(const std::string& key, | 104 void WriteProfileMetrics(const std::string& key, |
| 106 const base::DictionaryValue& profile_metrics); | 105 const base::DictionaryValue& profile_metrics); |
| 107 | 106 |
| 108 DISALLOW_COPY_AND_ASSIGN(MetricsLog); | 107 DISALLOW_COPY_AND_ASSIGN(MetricsLog); |
| 109 }; | 108 }; |
| 110 | 109 |
| 111 #endif // CHROME_BROWSER_METRICS_METRICS_LOG_H_ | 110 #endif // CHROME_BROWSER_METRICS_METRICS_LOG_H_ |
| OLD | NEW |