#include "content/browser/service_worker/service_worker_context_core.h"
#include <memory>
#include "base/containers/contains.h"
#include "base/functional/callback_helpers.h"
#include "base/test/bind.h"
#include "content/browser/service_worker/embedded_worker_test_helper.h"
#include "content/browser/service_worker/service_worker_client.h"
#include "content/browser/service_worker/service_worker_context_core_observer.h"
#include "content/browser/service_worker/service_worker_context_wrapper.h"
#include "content/browser/service_worker/service_worker_registration.h"
#include "content/browser/service_worker/service_worker_test_utils.h"
#include "content/browser/service_worker/service_worker_version.h"
#include "content/public/test/browser_task_environment.h"
#include "content/public/test/test_utils.h"
#include "testing/gtest/include/gtest/gtest.h"
#include "third_party/blink/public/common/storage_key/storage_key.h"
#include "third_party/blink/public/mojom/service_worker/service_worker_registration_options.mojom.h"
namespace content {
class ServiceWorkerContextCoreTest : public testing::Test,
public ServiceWorkerContextCoreObserver { … };
TEST_F(ServiceWorkerContextCoreTest, FailureInfo) { … }
TEST_F(ServiceWorkerContextCoreTest, DeleteForStorageKey) { … }
TEST_F(ServiceWorkerContextCoreTest, DeleteForStorageKeyAbortsQueuedJobs) { … }
TEST_F(ServiceWorkerContextCoreTest,
DeleteUninstallingForOriginAbortsQueuedJobs) { … }
TEST_F(ServiceWorkerContextCoreTest, DeleteForStorageKey_UnregisterFail) { … }
}