| // Copyright 2015 The Chromium Authors. All rights reserved. |
| // Use of this source code is governed by a BSD-style license that can be |
| // found in the LICENSE file. |
| |
| { |
| "type_name": "FieldTrialTestingConfig", |
| "headers": ["components/variations/proto/study.pb.h"], |
| "schema": [{ |
| "field": "studies", |
| "type": "array", |
| "contents": { |
| "type_name": "FieldTrialTestingStudy", |
| "type": "struct", |
| "fields": [ |
| {"field": "name", "type": "string"}, |
| { |
| "field": "experiments", |
| "type": "array", |
| "contents": { |
| "type_name": "FieldTrialTestingExperiment", |
| "type": "struct", |
| "fields": [ |
| {"field": "name", "type": "string"}, |
| { |
| "field": "platforms", |
| "type": "array", |
| "contents": {"type": "enum", "ctype": "Study::Platform"} |
| }, |
| { |
| "field": "form_factors", |
| "type": "array", |
| "contents": {"type": "enum", "ctype": "Study::FormFactor"} |
| }, |
| { |
| "field": "is_low_end_device", |
| "type": "enum", |
| "ctype": "Study::OptionalBool", |
| "default": "Study::OPTIONAL_BOOL_MISSING", |
| "optional": "True" |
| }, |
| { |
| "field": "params", |
| "type": "array", |
| "contents": { |
| "type_name": "FieldTrialTestingExperimentParams", |
| "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": "forcing_flag", |
| "type": "string" |
| }, |
| { |
| "field": "override_ui_string", |
| "type": "array", |
| "contents": { |
| "type_name": "OverrideUIString", |
| "type": "struct", |
| "fields": [ |
| {"field": "name_hash", "type": "int"}, |
| {"field": "value", "type": "string"} |
| ] |
| } |
| } |
| ] |
| } |
| } |
| ] |
| } |
| }] |
| } |