#include "extensions/common/api/cross_origin_isolation.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 "tools/json_schema_compiler/manifest_parse_util.h"
#include <string_view>
UTF8ToUTF16;
namespace extensions {
namespace api {
namespace cross_origin_isolation {
ResponseHeader::ResponseHeader()
{ … }
ResponseHeader::~ResponseHeader() = default;
ResponseHeader::ResponseHeader(ResponseHeader&& rhs) noexcept = default;
ResponseHeader& ResponseHeader::operator=(ResponseHeader&& rhs) noexcept = default;
constexpr char ResponseHeader::kValue[];
ResponseHeader ResponseHeader::Clone() const { … }
bool ResponseHeader::Populate(
const base::Value::Dict& dict, ResponseHeader& out) { … }
bool ResponseHeader::Populate(
const base::Value& value, ResponseHeader& out) { … }
std::optional<ResponseHeader> ResponseHeader::FromValue(const base::Value::Dict& value) { … }
std::optional<ResponseHeader> ResponseHeader::FromValue(const base::Value& value) { … }
base::Value::Dict ResponseHeader::ToValue() const { … }
bool ResponseHeader::ParseFromDictionary(
const base::Value::Dict& root_dict, std::string_view key, ResponseHeader& out, std::u16string& error, std::vector<std::string_view>& error_path_reversed) { … }
ManifestKeys::ManifestKeys()
{ … }
ManifestKeys::~ManifestKeys() = default;
ManifestKeys::ManifestKeys(ManifestKeys&& rhs) noexcept = default;
ManifestKeys& ManifestKeys::operator=(ManifestKeys&& rhs) noexcept = default;
constexpr char ManifestKeys::kCrossOriginEmbedderPolicy[];
constexpr char ManifestKeys::kCrossOriginOpenerPolicy[];
bool ManifestKeys::ParseFromDictionary(
const base::Value::Dict& root_dict, ManifestKeys& out, std::u16string& error) { … }
}
}
}