OLD | NEW |
1 // Copyright 2013 The Chromium Authors. All rights reserved. | 1 // Copyright 2013 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 #ifndef CHROME_COMMON_METRICS_VARIATIONS_VARIATIONS_ASSOCIATED_DATA_H_ | 5 #ifndef CHROME_COMMON_METRICS_VARIATIONS_VARIATIONS_ASSOCIATED_DATA_H_ |
6 #define CHROME_COMMON_METRICS_VARIATIONS_VARIATIONS_ASSOCIATED_DATA_H_ | 6 #define CHROME_COMMON_METRICS_VARIATIONS_VARIATIONS_ASSOCIATED_DATA_H_ |
7 | 7 |
8 #include <map> | 8 #include <map> |
9 #include <string> | 9 #include <string> |
10 | 10 |
(...skipping 126 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
137 std::string GetVariationParamValue(const std::string& trial_name, | 137 std::string GetVariationParamValue(const std::string& trial_name, |
138 const std::string& param_name); | 138 const std::string& param_name); |
139 | 139 |
140 // Expose some functions for testing. These functions just wrap functionality | 140 // Expose some functions for testing. These functions just wrap functionality |
141 // that is implemented above. | 141 // that is implemented above. |
142 namespace testing { | 142 namespace testing { |
143 | 143 |
144 // Clears all of the mapped associations. | 144 // Clears all of the mapped associations. |
145 void ClearAllVariationIDs(); | 145 void ClearAllVariationIDs(); |
146 | 146 |
| 147 // Clears all of the associated params. |
| 148 void ClearAllVariationParams(); |
| 149 |
147 } // namespace testing | 150 } // namespace testing |
148 | 151 |
149 } // namespace chrome_variations | 152 } // namespace chrome_variations |
150 | 153 |
151 #endif // CHROME_COMMON_METRICS_VARIATIONS_VARIATIONS_ASSOCIATED_DATA_H_ | 154 #endif // CHROME_COMMON_METRICS_VARIATIONS_VARIATIONS_ASSOCIATED_DATA_H_ |
OLD | NEW |