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

Side by Side 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: 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 unified diff | Download patch
« no previous file with comments | « no previous file | chrome/common/variations/variations_util.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2015 The Chromium Authors. All rights reserved. 1 // Copyright 2015 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 { 5 {
6 "type_name": "FieldTrialTestingConfig", 6 "type_name": "FieldTrialTestingConfig",
7 "schema": [{ 7 "schema": [{
8 "field": "groups", 8 "field": "studies",
9 "type": "array", 9 "type": "array",
10 "contents": { 10 "contents": {
11 "type_name": "FieldTrialTestingGroup", 11 "type_name": "FieldTrialTestingStudy",
12 "type": "struct", 12 "type": "struct",
13 "fields": [ 13 "fields": [
14 {"field": "study", "type": "string"}, 14 {"field": "name", "type": "string"},
15 {"field": "group_name", "type": "string"},
16 { 15 {
17 "field": "params", 16 "field": "groups",
18 "type": "array", 17 "type": "array",
19 "contents": { 18 "contents": {
20 "type_name": "FieldTrialGroupParams", 19 "type_name": "FieldTrialTestingStudyGroup",
Ilya Sherman 2016/08/18 22:09:38 nit: s/StudyGroup/ExperimentGroup or just Group T
robliao 2016/08/18 22:27:14 Done. Went with just Group.
21 "type": "struct", 20 "type": "struct",
22 "fields": [ 21 "fields": [
23 {"field": "key", "type": "string"}, 22 {"field": "name", "type": "string"},
24 {"field": "value", "type": "string"} 23 {
24 "field": "params",
25 "type": "array",
26 "contents": {
27 "type_name": "FieldTrialTestingStudyGroupsParams",
Ilya Sherman 2016/08/18 22:09:38 (similar comment here)
robliao 2016/08/18 22:27:14 Adjusted to FieldTrialTestingGroupParams
28 "type": "struct",
29 "fields": [
30 {"field": "key", "type": "string"},
31 {"field": "value", "type": "string"}
32 ]
33 }
34 },
35 {
36 "field": "enable_features",
37 "type": "array",
38 "contents": { "type": "string"}
39 },
40 {
41 "field": "disable_features",
42 "type": "array",
43 "contents": { "type": "string"}
44 }
25 ] 45 ]
26 } 46 }
27 },
28 {
29 "field": "enable_features",
30 "type": "array",
31 "contents": { "type": "string"}
32 },
33 {
34 "field": "disable_features",
35 "type": "array",
36 "contents": { "type": "string"}
37 } 47 }
38 ] 48 ]
39 } 49 }
40 }] 50 }]
41 } 51 }
OLDNEW
« 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