#include "net/base/schemeful_site.h"
#include "base/check.h"
#include "base/metrics/histogram_macros.h"
#include "base/trace_event/memory_usage_estimator.h"
#include "net/base/registry_controlled_domains/registry_controlled_domain.h"
#include "net/base/url_util.h"
#include "url/gurl.h"
#include "url/url_canon.h"
#include "url/url_constants.h"
namespace net {
SchemefulSite::ObtainASiteResult SchemefulSite::ObtainASite(
const url::Origin& origin) { … }
SchemefulSite::SchemefulSite(ObtainASiteResult result)
: … { … }
SchemefulSite::SchemefulSite(const url::Origin& origin)
: … { … }
SchemefulSite::SchemefulSite(const GURL& url)
: … { … }
SchemefulSite::SchemefulSite(const SchemefulSite& other) = default;
SchemefulSite::SchemefulSite(SchemefulSite&& other) noexcept = default;
SchemefulSite& SchemefulSite::operator=(const SchemefulSite& other) = default;
SchemefulSite& SchemefulSite::operator=(SchemefulSite&& other) noexcept =
default;
bool SchemefulSite::FromWire(const url::Origin& site_as_origin,
SchemefulSite* out) { … }
std::optional<SchemefulSite> SchemefulSite::CreateIfHasRegisterableDomain(
const url::Origin& origin) { … }
void SchemefulSite::ConvertWebSocketToHttp() { … }
SchemefulSite SchemefulSite::Deserialize(const std::string& value) { … }
std::string SchemefulSite::Serialize() const { … }
std::string SchemefulSite::SerializeFileSiteWithHost() const { … }
std::string SchemefulSite::GetDebugString() const { … }
GURL SchemefulSite::GetURL() const { … }
const url::Origin& SchemefulSite::GetInternalOriginForTesting() const { … }
size_t SchemefulSite::EstimateMemoryUsage() const { … }
bool SchemefulSite::operator==(const SchemefulSite& other) const { … }
bool SchemefulSite::operator!=(const SchemefulSite& other) const { … }
bool SchemefulSite::operator<(const SchemefulSite& other) const { … }
std::optional<SchemefulSite> SchemefulSite::DeserializeWithNonce(
base::PassKey<NetworkAnonymizationKey>,
const std::string& value) { … }
std::optional<SchemefulSite> SchemefulSite::DeserializeWithNonce(
const std::string& value) { … }
std::optional<std::string> SchemefulSite::SerializeWithNonce(
base::PassKey<NetworkAnonymizationKey>) { … }
std::optional<std::string> SchemefulSite::SerializeWithNonce() { … }
bool SchemefulSite::SchemelesslyEqual(const SchemefulSite& other) const { … }
std::ostream& operator<<(std::ostream& os, const SchemefulSite& ss) { … }
}