#include "extensions/common/manifest_handlers/cross_origin_isolation_info.h"
#include <memory>
#include <utility>
#include "extensions/common/api/cross_origin_isolation.h"
namespace extensions {
namespace {
COIManifestKeys;
const std::string* GetHeaderValue(const Extension& extension, const char* key) { … }
}
CrossOriginIsolationHeader::CrossOriginIsolationHeader(std::string value)
: … { … }
CrossOriginIsolationHeader::~CrossOriginIsolationHeader() = default;
const std::string* CrossOriginIsolationHeader::GetCrossOriginEmbedderPolicy(
const Extension& extension) { … }
const std::string* CrossOriginIsolationHeader::GetCrossOriginOpenerPolicy(
const Extension& extension) { … }
CrossOriginIsolationHandler::CrossOriginIsolationHandler() = default;
CrossOriginIsolationHandler::~CrossOriginIsolationHandler() = default;
bool CrossOriginIsolationHandler::Parse(Extension* extension,
std::u16string* error) { … }
base::span<const char* const> CrossOriginIsolationHandler::Keys() const { … }
}