expected_output.h 1.6 KB

12345678910111213141516171819202122232425262728293031323334353637383940414243444546474849505152535455565758596061
  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
  3. // found in the LICENSE file.
  4. // GENERATED FROM THE SCHEMA DEFINITION AND DESCRIPTION IN
  5. // field_trial_testing_config_schema.json
  6. // test_config.json
  7. // DO NOT EDIT.
  8. #ifndef TEST_OUTPUT_H_
  9. #define TEST_OUTPUT_H_
  10. #include <cstddef>
  11. #include "base/optional.h"
  12. #include "components/variations/proto/study.pb.h"
  13. struct OverrideUIString {
  14. const int name_hash;
  15. const char* const value;
  16. };
  17. struct FieldTrialTestingExperimentParams {
  18. const char* const key;
  19. const char* const value;
  20. };
  21. struct FieldTrialTestingExperiment {
  22. const char* const name;
  23. const Study::Platform * platforms;
  24. const size_t platforms_size;
  25. const Study::FormFactor * form_factors;
  26. const size_t form_factors_size;
  27. const base::Optional<bool> is_low_end_device;
  28. const char* const min_os_version;
  29. const FieldTrialTestingExperimentParams * params;
  30. const size_t params_size;
  31. const char* const * enable_features;
  32. const size_t enable_features_size;
  33. const char* const * disable_features;
  34. const size_t disable_features_size;
  35. const char* const forcing_flag;
  36. const OverrideUIString * override_ui_string;
  37. const size_t override_ui_string_size;
  38. };
  39. struct FieldTrialTestingStudy {
  40. const char* const name;
  41. const FieldTrialTestingExperiment * experiments;
  42. const size_t experiments_size;
  43. };
  44. struct FieldTrialTestingConfig {
  45. const FieldTrialTestingStudy * studies;
  46. const size_t studies_size;
  47. };
  48. extern const FieldTrialTestingConfig kFieldTrialConfig;
  49. #endif // TEST_OUTPUT_H_