chromium/out/Default/gen/extensions/common/api/mime_handler_private.cc

// Copyright 2024 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 API DEFINITION IN
//   extensions/common/api/mime_handler_private.idl
// by tools/json_schema_compiler.
// DO NOT EDIT.

#include "extensions/common/api/mime_handler_private.h"

#include <memory>
#include <optional>
#include <ostream>
#include <string>
#include <string_view>
#include <utility>
#include <vector>

#include "base/check.h"
#include "base/check_op.h"
#include "base/notreached.h"
#include "base/strings/string_number_conversions.h"
#include "base/strings/utf_string_conversions.h"
#include "base/values.h"
#include "tools/json_schema_compiler/util.h"

UTF8ToUTF16;

namespace extensions {
namespace api {
namespace mime_handler_private {
//
// Types
//

StreamInfo::ResponseHeaders::ResponseHeaders()
 {}

StreamInfo::ResponseHeaders::~ResponseHeaders() = default;
StreamInfo::ResponseHeaders::ResponseHeaders(ResponseHeaders&& rhs) noexcept = default;
StreamInfo::ResponseHeaders& StreamInfo::ResponseHeaders::operator=(ResponseHeaders&& rhs) noexcept = default;
StreamInfo::ResponseHeaders StreamInfo::ResponseHeaders::Clone() const {}

// static
bool StreamInfo::ResponseHeaders::Populate(
    const base::Value::Dict& dict, ResponseHeaders& out) {}

// static
bool StreamInfo::ResponseHeaders::Populate(
    const base::Value& value, ResponseHeaders& out) {}

// static
std::optional<StreamInfo::ResponseHeaders> StreamInfo::ResponseHeaders::FromValue(const base::Value::Dict& value) {}

// static
std::optional<StreamInfo::ResponseHeaders> StreamInfo::ResponseHeaders::FromValue(const base::Value& value) {}

base::Value::Dict StreamInfo::ResponseHeaders::ToValue() const {}



StreamInfo::StreamInfo()
:{}

StreamInfo::~StreamInfo() = default;
StreamInfo::StreamInfo(StreamInfo&& rhs) noexcept = default;
StreamInfo& StreamInfo::operator=(StreamInfo&& rhs) noexcept = default;
StreamInfo StreamInfo::Clone() const {}

// static
bool StreamInfo::Populate(
    const base::Value::Dict& dict, StreamInfo& out) {}

// static
bool StreamInfo::Populate(
    const base::Value& value, StreamInfo& out) {}

// static
std::optional<StreamInfo> StreamInfo::FromValue(const base::Value::Dict& value) {}

// static
std::optional<StreamInfo> StreamInfo::FromValue(const base::Value& value) {}

base::Value::Dict StreamInfo::ToValue() const {}


PdfPluginAttributes::PdfPluginAttributes()
:{}

PdfPluginAttributes::~PdfPluginAttributes() = default;
PdfPluginAttributes::PdfPluginAttributes(PdfPluginAttributes&& rhs) noexcept = default;
PdfPluginAttributes& PdfPluginAttributes::operator=(PdfPluginAttributes&& rhs) noexcept = default;
PdfPluginAttributes PdfPluginAttributes::Clone() const {}

// static
bool PdfPluginAttributes::Populate(
    const base::Value::Dict& dict, PdfPluginAttributes& out) {}

// static
bool PdfPluginAttributes::Populate(
    const base::Value& value, PdfPluginAttributes& out) {}

// static
std::optional<PdfPluginAttributes> PdfPluginAttributes::FromValue(const base::Value::Dict& value) {}

// static
std::optional<PdfPluginAttributes> PdfPluginAttributes::FromValue(const base::Value& value) {}

base::Value::Dict PdfPluginAttributes::ToValue() const {}



//
// Events
//

namespace OnSave {

const char kEventName[] =;

base::Value::List Create(const std::string& stream_url) {}

}  // namespace OnSave

}  // namespace mime_handler_private
}  // namespace api
}  // namespace extensions