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

Side by Side Diff: tools/variations/unittest_data/expected_output.h

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, 3 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
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 // GENERATED FROM THE SCHEMA DEFINITION AND DESCRIPTION IN 5 // GENERATED FROM THE SCHEMA DEFINITION AND DESCRIPTION IN
6 // fieldtrial_testing_config_schema.json 6 // fieldtrial_testing_config_schema.json
7 // test_config.json 7 // test_config.json
8 // DO NOT EDIT. 8 // DO NOT EDIT.
9 9
10 #ifndef TEST_OUPUT_H_ 10 #ifndef TEST_OUTPUT_H_
11 #define TEST_OUPUT_H_ 11 #define TEST_OUTPUT_H_
12 12
13 #include <cstddef> 13 #include <cstddef>
14 14
15 15
16 struct FieldTrialGroupParams { 16 struct FieldTrialTestingGroupParams {
17 const char* const key; 17 const char* const key;
18 const char* const value; 18 const char* const value;
19 }; 19 };
20 20
21 struct FieldTrialTestingGroup { 21 struct FieldTrialTestingGroup {
22 const char* const study; 22 const char* const name;
23 const char* const group_name; 23 const FieldTrialTestingGroupParams * params;
24 const FieldTrialGroupParams * params;
25 const size_t params_size; 24 const size_t params_size;
26 const char* const * enable_features; 25 const char* const * enable_features;
27 const size_t enable_features_size; 26 const size_t enable_features_size;
28 const char* const * disable_features; 27 const char* const * disable_features;
29 const size_t disable_features_size; 28 const size_t disable_features_size;
30 }; 29 };
31 30
32 struct FieldTrialTestingConfig { 31 struct FieldTrialTestingTrial {
32 const char* const name;
33 const FieldTrialTestingGroup * groups; 33 const FieldTrialTestingGroup * groups;
34 const size_t groups_size; 34 const size_t groups_size;
35 }; 35 };
36 36
37 struct FieldTrialTestingConfig {
38 const FieldTrialTestingTrial * trials;
39 const size_t trials_size;
40 };
41
37 42
38 extern const FieldTrialTestingConfig kFieldTrialConfig; 43 extern const FieldTrialTestingConfig kFieldTrialConfig;
39 44
40 #endif // TEST_OUPUT_H_ 45 #endif // TEST_OUTPUT_H_
OLDNEW
« no previous file with comments | « tools/variations/fieldtrial_to_struct_unittest.py ('k') | tools/variations/unittest_data/expected_output.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698