| OLD | NEW |
| 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": "trials", | 8 "field": "studies", |
| 9 "type": "array", | 9 "type": "array", |
| 10 "contents": { | 10 "contents": { |
| 11 "type_name": "FieldTrialTestingTrial", | 11 "type_name": "FieldTrialTestingStudy", |
| 12 "type": "struct", | 12 "type": "struct", |
| 13 "fields": [ | 13 "fields": [ |
| 14 {"field": "name", "type": "string"}, | 14 {"field": "name", "type": "string"}, |
| 15 { | 15 { |
| 16 "field": "groups", | 16 "field": "experiments", |
| 17 "type": "array", | 17 "type": "array", |
| 18 "contents": { | 18 "contents": { |
| 19 "type_name": "FieldTrialTestingGroup", | 19 "type_name": "FieldTrialTestingExperiment", |
| 20 "type": "struct", | 20 "type": "struct", |
| 21 "fields": [ | 21 "fields": [ |
| 22 {"field": "name", "type": "string"}, | 22 {"field": "name", "type": "string"}, |
| 23 { | 23 { |
| 24 "field": "params", | 24 "field": "params", |
| 25 "type": "array", | 25 "type": "array", |
| 26 "contents": { | 26 "contents": { |
| 27 "type_name": "FieldTrialTestingGroupParams", | 27 "type_name": "FieldTrialTestingExperimentParams", |
| 28 "type": "struct", | 28 "type": "struct", |
| 29 "fields": [ | 29 "fields": [ |
| 30 {"field": "key", "type": "string"}, | 30 {"field": "key", "type": "string"}, |
| 31 {"field": "value", "type": "string"} | 31 {"field": "value", "type": "string"} |
| 32 ] | 32 ] |
| 33 } | 33 } |
| 34 }, | 34 }, |
| 35 { | 35 { |
| 36 "field": "enable_features", | 36 "field": "enable_features", |
| 37 "type": "array", | 37 "type": "array", |
| 38 "contents": { "type": "string"} | 38 "contents": { "type": "string"} |
| 39 }, | 39 }, |
| 40 { | 40 { |
| 41 "field": "disable_features", | 41 "field": "disable_features", |
| 42 "type": "array", | 42 "type": "array", |
| 43 "contents": { "type": "string"} | 43 "contents": { "type": "string"} |
| 44 } | 44 } |
| 45 ] | 45 ] |
| 46 } | 46 } |
| 47 } | 47 } |
| 48 ] | 48 ] |
| 49 } | 49 } |
| 50 }] | 50 }] |
| 51 } | 51 } |
| OLD | NEW |