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

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

Issue 1090813005: Add a mechanism to force parameters of a group to a specific value. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 8 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 0d21c16a630902406cb91d1aa9b25fcd37cc8513..212569b023c15115d8740acc2e5609c8cf359449 100644
--- a/chrome/common/variations/variations_util.h
+++ b/chrome/common/variations/variations_util.h
@@ -5,12 +5,20 @@
#ifndef CHROME_COMMON_VARIATIONS_VARIATIONS_UTIL_H_
#define CHROME_COMMON_VARIATIONS_VARIATIONS_UTIL_H_
+#include <string>
+
namespace chrome_variations {
// 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();
+// Provides a mechanism to associate multiple set of params to multiple groups
+// with a formatted string specified from commandline. See
+// kForceFieldTrialParams in chrome/common/chrome_switches.cc for more details
+// on the formatting.
+bool AssociateParamsFromString(const std::string& variations_string);
+
} // 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