#include "extensions/common/api/guest_view_internal.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 guest_view_internal {
Size::Size()
: … { … }
Size::~Size() = default;
Size::Size(Size&& rhs) noexcept = default;
Size& Size::operator=(Size&& rhs) noexcept = default;
Size Size::Clone() const { … }
bool Size::Populate(
const base::Value::Dict& dict, Size& out) { … }
bool Size::Populate(
const base::Value& value, Size& out) { … }
std::optional<Size> Size::FromValue(const base::Value::Dict& value) { … }
std::optional<Size> Size::FromValue(const base::Value& value) { … }
base::Value::Dict Size::ToValue() const { … }
SizeParams::SizeParams()
{ … }
SizeParams::~SizeParams() = default;
SizeParams::SizeParams(SizeParams&& rhs) noexcept = default;
SizeParams& SizeParams::operator=(SizeParams&& rhs) noexcept = default;
SizeParams SizeParams::Clone() const { … }
bool SizeParams::Populate(
const base::Value::Dict& dict, SizeParams& out) { … }
bool SizeParams::Populate(
const base::Value& value, SizeParams& out) { … }
std::optional<SizeParams> SizeParams::FromValue(const base::Value::Dict& value) { … }
std::optional<SizeParams> SizeParams::FromValue(const base::Value& value) { … }
base::Value::Dict SizeParams::ToValue() const { … }
namespace CreateGuest {
Params::CreateParams::CreateParams()
{ … }
Params::CreateParams::~CreateParams() = default;
Params::CreateParams::CreateParams(CreateParams&& rhs) noexcept = default;
Params::CreateParams& Params::CreateParams::operator=(CreateParams&& rhs) noexcept = default;
Params::CreateParams Params::CreateParams::Clone() const { … }
bool Params::CreateParams::Populate(
const base::Value::Dict& dict, CreateParams& out) { … }
bool Params::CreateParams::Populate(
const base::Value& value, CreateParams& out) { … }
std::optional<Params::CreateParams> Params::CreateParams::FromValue(const base::Value::Dict& value) { … }
std::optional<Params::CreateParams> Params::CreateParams::FromValue(const base::Value& value) { … }
Params::Params() = default;
Params::~Params() = default;
Params::Params(Params&& rhs) noexcept = default;
Params& Params::operator=(Params&& rhs) noexcept = default;
std::optional<Params> Params::Create(const base::Value::List& args) { … }
base::Value::List Results::Create(int instance_id) { … }
}
namespace DestroyUnattachedGuest {
Params::Params() = default;
Params::~Params() = default;
Params::Params(Params&& rhs) noexcept = default;
Params& Params::operator=(Params&& rhs) noexcept = default;
std::optional<Params> Params::Create(const base::Value::List& args) { … }
}
namespace SetSize {
Params::Params() = default;
Params::~Params() = default;
Params::Params(Params&& rhs) noexcept = default;
Params& Params::operator=(Params&& rhs) noexcept = default;
std::optional<Params> Params::Create(const base::Value::List& args) { … }
base::Value::List Results::Create() { … }
}
}
}
}