#include "content/public/browser/shared_worker_instance.h"
#include "base/check.h"
#include "content/public/browser/content_browser_client.h"
#include "content/public/common/content_client.h"
namespace content {
SharedWorkerInstance::SharedWorkerInstance(
const GURL& url,
blink::mojom::ScriptType script_type,
network::mojom::CredentialsMode credentials_mode,
const std::string& name,
const blink::StorageKey& storage_key,
blink::mojom::SharedWorkerCreationContextType creation_context_type,
blink::mojom::SharedWorkerSameSiteCookies same_site_cookies)
: … { … }
SharedWorkerInstance::SharedWorkerInstance(const SharedWorkerInstance& other) =
default;
SharedWorkerInstance::SharedWorkerInstance(SharedWorkerInstance&& other) =
default;
SharedWorkerInstance::~SharedWorkerInstance() = default;
bool SharedWorkerInstance::Matches(
const GURL& url,
const std::string& name,
const blink::StorageKey& storage_key,
const blink::mojom::SharedWorkerSameSiteCookies same_site_cookies) const { … }
}