Index: chrome/common/variations/variations_util.h |
diff --git a/chrome/common/variations/variations_util.h b/chrome/common/variations/variations_util.h |
index 212569b023c15115d8740acc2e5609c8cf359449..8cf899907e7742bdf33497d7e36dbc09e8742411 100644 |
--- a/chrome/common/variations/variations_util.h |
+++ b/chrome/common/variations/variations_util.h |
@@ -9,6 +9,8 @@ |
namespace chrome_variations { |
+struct FieldTrialTestingConfig; |
+ |
// Get the current set of chosen FieldTrial groups (aka variations) and send |
// them to the child process logging module so it can save it for crash dumps. |
void SetChildProcessLoggingVariationList(); |
@@ -19,6 +21,15 @@ void SetChildProcessLoggingVariationList(); |
// on the formatting. |
bool AssociateParamsFromString(const std::string& variations_string); |
+// Provides a mechanism to associate multiple set of params to multiple groups |
+// with the |config| struct. This will also force the selection of FieldTrial |
+// groups specified in the |config|. |
+void AssociateParamsFromFieldTrialConfig(const FieldTrialTestingConfig& config); |
+ |
+// Associates params to FieldTrial groups and forces the selection of groups |
+// specified in testing/variations/fieldtrial_testing_config_*.json. |
+void AssociateDefaultFieldTrialConfig(); |
+ |
} // namespace chrome_variations |
#endif // CHROME_COMMON_VARIATIONS_VARIATIONS_UTIL_H_ |