chromium/extensions/renderer/bindings/argument_spec_builder.cc

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

#include "extensions/renderer/bindings/argument_spec_builder.h"

#include <string_view>

namespace extensions {

ArgumentSpecBuilder::ArgumentSpecBuilder(ArgumentType type)
    :{}

ArgumentSpecBuilder::ArgumentSpecBuilder(ArgumentType type,
                                         std::string_view name)
    :{}

ArgumentSpecBuilder::~ArgumentSpecBuilder() = default;

ArgumentSpecBuilder& ArgumentSpecBuilder::MakeOptional() {}

ArgumentSpecBuilder& ArgumentSpecBuilder::AddProperty(
    std::string_view property_name,
    std::unique_ptr<ArgumentSpec> property_spec) {}

ArgumentSpecBuilder& ArgumentSpecBuilder::SetMinimum(int minimum) {}

ArgumentSpecBuilder& ArgumentSpecBuilder::SetListType(
    std::unique_ptr<ArgumentSpec> list_type) {}

ArgumentSpecBuilder& ArgumentSpecBuilder::SetRef(std::string_view ref) {}

ArgumentSpecBuilder& ArgumentSpecBuilder::SetChoices(
    std::vector<std::unique_ptr<ArgumentSpec>> choices) {}

ArgumentSpecBuilder& ArgumentSpecBuilder::SetEnums(
    std::set<std::string> enum_values) {}

ArgumentSpecBuilder& ArgumentSpecBuilder::SetAdditionalProperties(
    std::unique_ptr<ArgumentSpec> additional_properties) {}

ArgumentSpecBuilder& ArgumentSpecBuilder::SetInstanceOf(
    std::string instance_of) {}

ArgumentSpecBuilder& ArgumentSpecBuilder::PreserveNull() {}

std::unique_ptr<ArgumentSpec> ArgumentSpecBuilder::Build() {}

}  // namespace extensions