#include "extensions/browser/service_worker/service_worker_keepalive.h"
#include "base/check.h"
#include "base/memory/raw_ptr.h"
#include "base/no_destructor.h"
#include "base/uuid.h"
#include "components/keyed_service/content/browser_context_keyed_service_shutdown_notifier_factory.h"
#include "components/keyed_service/core/keyed_service_shutdown_notifier.h"
#include "content/public/browser/browser_context.h"
#include "extensions/browser/extensions_browser_client.h"
#include "extensions/browser/process_manager.h"
#include "extensions/browser/process_manager_factory.h"
#include "extensions/browser/service_worker/worker_id.h"
namespace extensions {
namespace {
class ServiceWorkerKeepaliveShutdownNotifierFactory
: public BrowserContextKeyedServiceShutdownNotifierFactory { … };
}
void ServiceWorkerKeepalive::EnsureShutdownNotifierFactoryBuilt() { … }
ServiceWorkerKeepalive::ServiceWorkerKeepalive(
content::BrowserContext* browser_context,
WorkerId worker_id,
content::ServiceWorkerExternalRequestTimeoutType timeout_type,
Activity::Type activity_type,
std::string activity_extra_data)
: … { … }
ServiceWorkerKeepalive::ServiceWorkerKeepalive(ServiceWorkerKeepalive&&) =
default;
ServiceWorkerKeepalive::~ServiceWorkerKeepalive() { … }
void ServiceWorkerKeepalive::Shutdown() { … }
}