| 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 #ifndef CHROME_COMMON_VARIATIONS_VARIATIONS_UTIL_H_ | 5 #ifndef CHROME_COMMON_VARIATIONS_VARIATIONS_UTIL_H_ |
| 6 #define CHROME_COMMON_VARIATIONS_VARIATIONS_UTIL_H_ | 6 #define CHROME_COMMON_VARIATIONS_VARIATIONS_UTIL_H_ |
| 7 | 7 |
| 8 namespace chrome_variations { | 8 namespace chrome_variations { |
| 9 | 9 |
| 10 // Get the current set of chosen FieldTrial groups (aka variations) and send | 10 // Get the current set of chosen FieldTrial groups (aka variations) and send |
| 11 // them to the child process logging module so it can save it for crash dumps. | 11 // them to the child process logging module so it can save it for crash dumps. |
| 12 void SetChildProcessLoggingVariationList(); | 12 void SetChildProcessLoggingVariationList(); |
| 13 | 13 |
| 14 // Provides a mechanism to associate multiple set of params to multiple groups |
| 15 // with a formatted string specified from commandline. See |
| 16 // kForceFieldTrialParams in chrome/common/chrome_switches.cc for more details |
| 17 // on the formatting. |
| 18 bool AssociateParamsFromString(const std::string& variations_string); |
| 19 |
| 14 } // namespace chrome_variations | 20 } // namespace chrome_variations |
| 15 | 21 |
| 16 #endif // CHROME_COMMON_VARIATIONS_VARIATIONS_UTIL_H_ | 22 #endif // CHROME_COMMON_VARIATIONS_VARIATIONS_UTIL_H_ |
| OLD | NEW |