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

Unified Diff: chrome/common/variations/fieldtrial_testing_config_schema.json

Issue 2259443003: Capture All Groups in the Field Trial For Testing Studies (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: CR Feedback Created 4 years, 4 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 | « no previous file | 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/fieldtrial_testing_config_schema.json
diff --git a/chrome/common/variations/fieldtrial_testing_config_schema.json b/chrome/common/variations/fieldtrial_testing_config_schema.json
index 3f165735518e7db198091393739d3099e71b1431..1b7c43c4592c295a753a40597b79ca218411d5ec 100644
--- a/chrome/common/variations/fieldtrial_testing_config_schema.json
+++ b/chrome/common/variations/fieldtrial_testing_config_schema.json
@@ -5,37 +5,47 @@
{
"type_name": "FieldTrialTestingConfig",
"schema": [{
- "field": "groups",
+ "field": "trials",
"type": "array",
"contents": {
- "type_name": "FieldTrialTestingGroup",
+ "type_name": "FieldTrialTestingTrial",
"type": "struct",
"fields": [
- {"field": "study", "type": "string"},
- {"field": "group_name", "type": "string"},
+ {"field": "name", "type": "string"},
{
- "field": "params",
+ "field": "groups",
"type": "array",
"contents": {
- "type_name": "FieldTrialGroupParams",
+ "type_name": "FieldTrialTestingGroup",
"type": "struct",
"fields": [
- {"field": "key", "type": "string"},
- {"field": "value", "type": "string"}
+ {"field": "name", "type": "string"},
+ {
+ "field": "params",
+ "type": "array",
+ "contents": {
+ "type_name": "FieldTrialTestingGroupParams",
+ "type": "struct",
+ "fields": [
+ {"field": "key", "type": "string"},
+ {"field": "value", "type": "string"}
+ ]
+ }
+ },
+ {
+ "field": "enable_features",
+ "type": "array",
+ "contents": { "type": "string"}
+ },
+ {
+ "field": "disable_features",
+ "type": "array",
+ "contents": { "type": "string"}
+ }
]
}
- },
- {
- "field": "enable_features",
- "type": "array",
- "contents": { "type": "string"}
- },
- {
- "field": "disable_features",
- "type": "array",
- "contents": { "type": "string"}
}
]
}
}]
-}
+}
« no previous file with comments | « no previous file | chrome/common/variations/variations_util.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698