#include "services/network/public/cpp/initiator_lock_compatibility.h"
#include <string>
#include "base/containers/flat_set.h"
#include "base/types/optional_util.h"
#include "net/base/registry_controlled_domains/registry_controlled_domain.h"
#include "services/network/public/cpp/resource_request.h"
#include "services/network/public/mojom/network_context.mojom.h"
#include "url/gurl.h"
#include "url/origin.h"
#include "url/url_constants.h"
namespace network {
namespace {
base::debug::CrashKeyString* GetRequestInitiatorOriginLockCrashKey() { … }
}
InitiatorLockCompatibility VerifyRequestInitiatorLock(
const std::optional<url::Origin>& request_initiator_origin_lock,
const std::optional<url::Origin>& request_initiator) { … }
namespace debug {
ScopedRequestInitiatorOriginLockCrashKey::
ScopedRequestInitiatorOriginLockCrashKey(
const std::optional<url::Origin>& request_initiator_origin_lock)
: … { … }
ScopedRequestInitiatorOriginLockCrashKey::
~ScopedRequestInitiatorOriginLockCrashKey() = default;
}
}