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

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

Issue 1209743002: Generate a static struct from fieldtrial_testing_config (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@codegen_nested_structs
Patch Set: add +x file permission Created 5 years, 5 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
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
new file mode 100644
index 0000000000000000000000000000000000000000..f00a3e9e3a8edb5288989afda9816c1c9da58070
--- /dev/null
+++ b/chrome/common/variations/fieldtrial_testing_config_schema.json
@@ -0,0 +1,31 @@
+// 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",
+ "schema": [{
+ "field": "groups",
+ "type": "array",
+ "contents": {
+ "type_name": "FieldTrialTestingGroup",
+ "type": "struct",
+ "fields": [
+ {"field": "study", "type": "string"},
+ {"field": "group_name", "type": "string"},
+ {
+ "field": "params",
+ "type": "array",
+ "contents": {
+ "type_name": "FieldTrialGroupParams",
+ "type": "struct",
+ "fields": [
+ {"field": "key", "type": "string"},
+ {"field": "value", "type": "string"}
+ ]
+ }
+ }
+ ]
+ }
+ }]
+}
« no previous file with comments | « chrome/common/variations/fieldtrial_testing_config.gyp ('k') | testing/variations/fieldtrial_testing_config.json » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698