#include "chrome/browser/extensions/devtools_util.h"
#include "base/functional/bind.h"
#include "chrome/browser/devtools/devtools_window.h"
#include "chrome/browser/profiles/profile.h"
#include "extensions/browser/extension_host.h"
#include "extensions/browser/extension_registry.h"
#include "extensions/browser/lazy_context_id.h"
#include "extensions/browser/lazy_context_task_queue.h"
#include "extensions/browser/process_manager.h"
#include "extensions/browser/service_worker/service_worker_task_queue.h"
#include "extensions/common/extension.h"
#include "extensions/common/manifest_handlers/background_info.h"
namespace extensions {
namespace devtools_util {
namespace {
void InspectExtensionHost(
DevToolsOpenedByAction opened_by,
std::unique_ptr<LazyContextTaskQueue::ContextInfo> context_info) { … }
void InspectServiceWorkerBackgroundHelper(
DevToolsOpenedByAction opened_by,
std::unique_ptr<LazyContextTaskQueue::ContextInfo> context_info) { … }
}
void InspectServiceWorkerBackground(const Extension* extension,
Profile* profile,
DevToolsOpenedByAction opened_by) { … }
void InspectInactiveServiceWorkerBackground(const Extension* extension,
Profile* profile,
DevToolsOpenedByAction opened_by) { … }
void InspectBackgroundPage(const Extension* extension,
Profile* profile,
DevToolsOpenedByAction opened_by) { … }
}
}