chromium/tools/variations/unittest_data/expected_output.h

// Copyright 2015 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

// GENERATED FROM THE SCHEMA DEFINITION AND DESCRIPTION IN
//   field_trial_testing_config_schema.json
//   test_config.json
// DO NOT EDIT.

#ifndef TEST_OUTPUT_H_
#define TEST_OUTPUT_H_

#include <cstddef>

#include <optional>

#include "components/variations/proto/study.pb.h"

struct OverrideUIString {
  const int name_hash;
  const char* const value;
};

struct FieldTrialTestingExperimentParams {
  const char* const key;
  const char* const value;
};

struct FieldTrialTestingExperiment {
  const char* const name;
  const Study::Platform * platforms;
  const size_t platforms_size;
  const Study::FormFactor * form_factors;
  const size_t form_factors_size;
  const std::optional<bool> is_low_end_device;
  const char* const min_os_version;
  const FieldTrialTestingExperimentParams * params;
  const size_t params_size;
  const char* const * enable_features;
  const size_t enable_features_size;
  const char* const * disable_features;
  const size_t disable_features_size;
  const char* const forcing_flag;
  const OverrideUIString * override_ui_string;
  const size_t override_ui_string_size;
  const char* const * hardware_classes;
  const size_t hardware_classes_size;
  const char* const * exclude_hardware_classes;
  const size_t exclude_hardware_classes_size;
};

struct FieldTrialTestingStudy {
  const char* const name;
  const FieldTrialTestingExperiment * experiments;
  const size_t experiments_size;
};

struct FieldTrialTestingConfig {
  const FieldTrialTestingStudy * studies;
  const size_t studies_size;
};


extern const FieldTrialTestingConfig kFieldTrialConfig;

#endif  // TEST_OUTPUT_H_