chromium/out/Default/gen/chrome/common/apps/platform_apps/api/media_galleries.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
//   chrome/common/apps/platform_apps/api/media_galleries.idl
// by tools/json_schema_compiler.
// DO NOT EDIT.

#include "chrome/common/apps/platform_apps/api/media_galleries.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"
#include <string_view>


UTF8ToUTF16;

namespace chrome_apps {
namespace api {
namespace media_galleries {
//
// Types
//

const char* ToString(GalleryChangeType enum_param) {}

GalleryChangeType ParseGalleryChangeType(std::string_view enum_string) {}

std::u16string GetGalleryChangeTypeParseError(std::string_view enum_string) {}


const char* ToString(GetMediaFileSystemsInteractivity enum_param) {}

GetMediaFileSystemsInteractivity ParseGetMediaFileSystemsInteractivity(std::string_view enum_string) {}

std::u16string GetGetMediaFileSystemsInteractivityParseError(std::string_view enum_string) {}


const char* ToString(GetMetadataType enum_param) {}

GetMetadataType ParseGetMetadataType(std::string_view enum_string) {}

std::u16string GetGetMetadataTypeParseError(std::string_view enum_string) {}


GalleryChangeDetails::GalleryChangeDetails()
:{}

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

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

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

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

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

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


MediaFileSystemsDetails::MediaFileSystemsDetails()
:{}

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

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

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

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

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

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


MediaMetadataOptions::MediaMetadataOptions()
:{}

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

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

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

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

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

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


MediaFileSystemMetadata::MediaFileSystemMetadata()
:{}

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

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

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

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

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

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


StreamInfo::Tags::Tags()
 {}

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

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

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

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

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

base::Value::Dict StreamInfo::Tags::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 {}


MediaMetadata::AttachedImagesType::AttachedImagesType()
 {}

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

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

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

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

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

base::Value::Dict MediaMetadata::AttachedImagesType::ToValue() const {}




MediaMetadata::MediaMetadata()
 {}

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

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

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

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

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

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


AddGalleryWatchResult::AddGalleryWatchResult()
:{}

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

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

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

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

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

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



//
// Functions
//

namespace GetMediaFileSystems {

Params::Params() = default;
Params::~Params() = default;
Params::Params(Params&& rhs) noexcept = default;
Params& Params::operator=(Params&& rhs) noexcept = default;

// static
std::optional<Params> Params::Create(const base::Value::List& args) {}


Results::MediaFileSystemsType::MediaFileSystemsType()
 {}

Results::MediaFileSystemsType::~MediaFileSystemsType() = default;
Results::MediaFileSystemsType::MediaFileSystemsType(MediaFileSystemsType&& rhs) noexcept = default;
Results::MediaFileSystemsType& Results::MediaFileSystemsType::operator=(MediaFileSystemsType&& rhs) noexcept = default;
base::Value::Dict Results::MediaFileSystemsType::ToValue() const {}



base::Value::List Results::Create(const std::vector<MediaFileSystemsType>& media_file_systems) {}
}  // namespace GetMediaFileSystems

namespace AddUserSelectedFolder {

Results::MediaFileSystemsType::MediaFileSystemsType()
 {}

Results::MediaFileSystemsType::~MediaFileSystemsType() = default;
Results::MediaFileSystemsType::MediaFileSystemsType(MediaFileSystemsType&& rhs) noexcept = default;
Results::MediaFileSystemsType& Results::MediaFileSystemsType::operator=(MediaFileSystemsType&& rhs) noexcept = default;
base::Value::Dict Results::MediaFileSystemsType::ToValue() const {}



base::Value::List Results::Create(const std::vector<MediaFileSystemsType>& media_file_systems, const std::string& selected_file_system_name) {}
}  // namespace AddUserSelectedFolder

namespace GetMetadata {

Params::MediaFile::MediaFile()
 {}

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

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

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

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

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


Params::Params() = default;
Params::~Params() = default;
Params::Params(Params&& rhs) noexcept = default;
Params& Params::operator=(Params&& rhs) noexcept = default;

// static
std::optional<Params> Params::Create(const base::Value::List& args) {}


base::Value::List Results::Create(const MediaMetadata& metadata) {}
}  // namespace GetMetadata

namespace AddGalleryWatch {

Params::Params() = default;
Params::~Params() = default;
Params::Params(Params&& rhs) noexcept = default;
Params& Params::operator=(Params&& rhs) noexcept = default;

// static
std::optional<Params> Params::Create(const base::Value::List& args) {}


base::Value::List Results::Create(const AddGalleryWatchResult& result) {}
}  // namespace AddGalleryWatch

namespace RemoveGalleryWatch {

Params::Params() = default;
Params::~Params() = default;
Params::Params(Params&& rhs) noexcept = default;
Params& Params::operator=(Params&& rhs) noexcept = default;

// static
std::optional<Params> Params::Create(const base::Value::List& args) {}


}  // namespace RemoveGalleryWatch

//
// Events
//

namespace OnGalleryChanged {

const char kEventName[] =;

base::Value::List Create(const GalleryChangeDetails& details) {}

}  // namespace OnGalleryChanged

}  // namespace media_galleries
}  // namespace api
}  // namespace chrome_apps