#include "extensions/browser/service_worker_manager.h"
#include "base/functional/bind.h"
#include "base/functional/callback_helpers.h"
#include "content/public/browser/browser_context.h"
#include "content/public/browser/service_worker_context.h"
#include "extensions/browser/extension_util.h"
#include "third_party/blink/public/common/storage_key/storage_key.h"
namespace extensions {
ServiceWorkerManager::ServiceWorkerManager(
content::BrowserContext* browser_context)
: … { … }
ServiceWorkerManager::~ServiceWorkerManager() = default;
void ServiceWorkerManager::OnExtensionUnloaded(
content::BrowserContext* browser_context,
const Extension* extension,
UnloadedExtensionReason reason) { … }
void ServiceWorkerManager::OnExtensionUninstalled(
content::BrowserContext* browser_context,
const Extension* extension,
extensions::UninstallReason reason) { … }
}