#include "content/browser/web_exposed_isolation_info.h"
#include <ostream>
#include "base/notreached.h"
namespace content {
namespace {
constexpr char kComparisonErrorMessage[] = …;
}
WebExposedIsolationInfo WebExposedIsolationInfo::CreateNonIsolated() { … }
WebExposedIsolationInfo WebExposedIsolationInfo::CreateIsolated(
const url::Origin& origin) { … }
WebExposedIsolationInfo WebExposedIsolationInfo::CreateIsolatedApplication(
const url::Origin& origin) { … }
bool WebExposedIsolationInfo::AreCompatible(const WebExposedIsolationInfo& a,
const WebExposedIsolationInfo& b) { … }
bool WebExposedIsolationInfo::AreCompatible(
const std::optional<WebExposedIsolationInfo>& a,
const WebExposedIsolationInfo& b) { … }
bool WebExposedIsolationInfo::AreCompatible(
const WebExposedIsolationInfo& a,
const std::optional<WebExposedIsolationInfo>& b) { … }
bool WebExposedIsolationInfo::AreCompatible(
const std::optional<WebExposedIsolationInfo>& a,
const std::optional<WebExposedIsolationInfo>& b) { … }
WebExposedIsolationInfo::WebExposedIsolationInfo(
const std::optional<url::Origin>& origin,
bool isolated_application)
: … { … }
WebExposedIsolationInfo::WebExposedIsolationInfo(
const WebExposedIsolationInfo& other) = default;
WebExposedIsolationInfo::~WebExposedIsolationInfo() = default;
const url::Origin& WebExposedIsolationInfo::origin() const { … }
bool WebExposedIsolationInfo::operator==(
const WebExposedIsolationInfo& b) const { … }
bool WebExposedIsolationInfo::operator!=(
const WebExposedIsolationInfo& b) const { … }
bool WebExposedIsolationInfo::operator<(
const WebExposedIsolationInfo& b) const { … }
std::ostream& operator<<(std::ostream& out,
const WebExposedIsolationInfo& info) { … }
bool operator==(const std::optional<WebExposedIsolationInfo>& a,
const std::optional<WebExposedIsolationInfo>& b) { … }
bool operator==(const WebExposedIsolationInfo& a,
const std::optional<WebExposedIsolationInfo>& b) { … }
bool operator==(const std::optional<WebExposedIsolationInfo>& a,
const WebExposedIsolationInfo& b) { … }
bool operator!=(const std::optional<WebExposedIsolationInfo>& a,
const std::optional<WebExposedIsolationInfo>& b) { … }
bool operator!=(const WebExposedIsolationInfo& a,
const std::optional<WebExposedIsolationInfo>& b) { … }
bool operator!=(const std::optional<WebExposedIsolationInfo>& a,
const WebExposedIsolationInfo& b) { … }
}