Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2825)

Unified Diff: chrome/common/variations/variations_util.h

Issue 1200383005: Activate prepopulated fieldtrials (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@codegen_field_trials
Patch Set: rebase Created 5 years, 5 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | chrome/common/variations/variations_util.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_
« no previous file with comments | « chrome/common/chrome_switches.cc ('k') | chrome/common/variations/variations_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698