#include "content/browser/url_info.h"
#include "content/browser/isolation_context.h"
namespace content {
const int64_t UrlInfo::kInvalidUniqueSandboxId = …;
UrlInfo::UrlInfo() = default;
UrlInfo::UrlInfo(const UrlInfo& other) = default;
UrlInfo::UrlInfo(const UrlInfoInit& init)
: … { … }
UrlInfo::~UrlInfo() = default;
UrlInfo UrlInfo::CreateForTesting(
const GURL& url_in,
std::optional<StoragePartitionConfig> storage_partition_config) { … }
bool UrlInfo::IsIsolated() const { … }
bool UrlInfo::RequestsOriginKeyedProcess(
const IsolationContext& context) const { … }
UrlInfoInit::UrlInfoInit(UrlInfoInit&) = default;
UrlInfoInit::UrlInfoInit(const GURL& url) : … { … }
UrlInfoInit::UrlInfoInit(const UrlInfo& base)
: … { … }
UrlInfoInit::~UrlInfoInit() = default;
UrlInfoInit& UrlInfoInit::WithOriginIsolationRequest(
UrlInfo::OriginIsolationRequest origin_isolation_request) { … }
UrlInfoInit& UrlInfoInit::WithCOOPSiteIsolation(bool requests_coop_isolation) { … }
UrlInfoInit& UrlInfoInit::WithCrossSitePrefetchContamination(
bool contaminated) { … }
UrlInfoInit& UrlInfoInit::WithOrigin(const url::Origin& origin) { … }
UrlInfoInit& UrlInfoInit::WithSandbox(bool is_sandboxed) { … }
UrlInfoInit& UrlInfoInit::WithUniqueSandboxId(int unique_sandbox_id) { … }
UrlInfoInit& UrlInfoInit::WithStoragePartitionConfig(
std::optional<StoragePartitionConfig> storage_partition_config) { … }
UrlInfoInit& UrlInfoInit::WithWebExposedIsolationInfo(
std::optional<WebExposedIsolationInfo> web_exposed_isolation_info) { … }
UrlInfoInit& UrlInfoInit::WithIsPdf(bool is_pdf) { … }
UrlInfoInit& UrlInfoInit::WithCommonCoopOrigin(
const url::Origin& common_coop_origin) { … }
UrlInfoInit& UrlInfoInit::WithCrossOriginIsolationKey(
const std::optional<AgentClusterKey::CrossOriginIsolationKey>&
cross_origin_isolation_key) { … }
}