chromium/content/browser/service_worker/service_worker_security_utils.cc

// Copyright 2021 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "content/browser/service_worker/service_worker_security_utils.h"

#include "base/command_line.h"
#include "content/public/common/content_switches.h"
#include "content/public/common/origin_util.h"
#include "content/public/common/url_constants.h"
#include "net/cookies/site_for_cookies.h"
#include "third_party/blink/public/common/storage_key/storage_key.h"

namespace content {
namespace service_worker_security_utils {

bool OriginCanRegisterServiceWorkerFromJavascript(const GURL& url) {}

bool AllOriginsMatchAndCanAccessServiceWorkers(const std::vector<GURL>& urls) {}

bool IsWebSecurityDisabled() {}

void CheckOnUpdateUrls(const GURL& url, const blink::StorageKey& key) {}

blink::StorageKey GetCorrectStorageKeyForWebSecurityState(
    const blink::StorageKey& key,
    const GURL& url) {}

net::SiteForCookies site_for_cookies(const blink::StorageKey& key) {}

}  // namespace service_worker_security_utils
}  // namespace content