#ifndef EXTENSIONS_BROWSER_SERVICE_WORKER_SERVICE_WORKER_TEST_UTILS_H_
#define EXTENSIONS_BROWSER_SERVICE_WORKER_SERVICE_WORKER_TEST_UTILS_H_
#include <stddef.h>
#include <map>
#include <optional>
#include <set>
#include "base/memory/raw_ptr.h"
#include "base/run_loop.h"
#include "base/scoped_observation.h"
#include "content/public/browser/service_worker_context_observer.h"
#include "content/public/browser/storage_partition.h"
#include "extensions/browser/process_manager.h"
#include "extensions/browser/process_manager_observer.h"
#include "extensions/browser/service_worker/service_worker_task_queue.h"
#include "extensions/common/extension_id.h"
#include "third_party/blink/public/common/service_worker/service_worker_status_code.h"
#include "url/gurl.h"
namespace content {
class ServiceWorkerContext;
class BrowserContext;
}
namespace extensions {
namespace service_worker_test_utils {
content::ServiceWorkerContext* GetServiceWorkerContext(
content::BrowserContext* browser_context);
class TestServiceWorkerContextObserver
: public content::ServiceWorkerContextObserver { … };
class UnregisterWorkerObserver : public ProcessManagerObserver { … };
class TestServiceWorkerTaskQueueObserver
: public ServiceWorkerTaskQueue::TestObserver { … };
}
}
#endif