#include "chrome/browser/extensions/extension_web_ui_override_registrar.h"
#include "base/functional/bind.h"
#include "base/lazy_instance.h"
#include "base/one_shot_event.h"
#include "chrome/browser/extensions/extension_web_ui.h"
#include "chrome/browser/profiles/profile.h"
#include "extensions/browser/extension_system.h"
namespace extensions {
ExtensionWebUIOverrideRegistrar::ExtensionWebUIOverrideRegistrar(
content::BrowserContext* context) { … }
ExtensionWebUIOverrideRegistrar::~ExtensionWebUIOverrideRegistrar() { … }
void ExtensionWebUIOverrideRegistrar::OnExtensionLoaded(
content::BrowserContext* browser_context,
const Extension* extension) { … }
void ExtensionWebUIOverrideRegistrar::OnExtensionUnloaded(
content::BrowserContext* browser_context,
const Extension* extension,
UnloadedExtensionReason reason) { … }
void ExtensionWebUIOverrideRegistrar::OnExtensionUninstalled(
content::BrowserContext* browser_context,
const Extension* extension,
UninstallReason reason) { … }
void ExtensionWebUIOverrideRegistrar::OnExtensionSystemReady(
content::BrowserContext* context) { … }
static base::LazyInstance<BrowserContextKeyedAPIFactory<
ExtensionWebUIOverrideRegistrar>>::DestructorAtExit
g_extension_web_ui_override_registrar_factory = …;
BrowserContextKeyedAPIFactory<ExtensionWebUIOverrideRegistrar>*
ExtensionWebUIOverrideRegistrar::GetFactoryInstance() { … }
}