#include "extensions/browser/extension_function_registry.h"
#include "base/no_destructor.h"
#include "extensions/browser/extension_function.h"
#include "extensions/browser/extensions_browser_client.h"
ExtensionFunctionRegistry& ExtensionFunctionRegistry::GetInstance() { … }
ExtensionFunctionRegistry::ExtensionFunctionRegistry() { … }
ExtensionFunctionRegistry::~ExtensionFunctionRegistry() = default;
bool ExtensionFunctionRegistry::OverrideFunctionForTesting(
const std::string& name,
ExtensionFunctionFactory factory) { … }
scoped_refptr<ExtensionFunction> ExtensionFunctionRegistry::NewFunction(
const std::string& name) { … }
void ExtensionFunctionRegistry::Register(const FactoryEntry& entry) { … }
ExtensionFunctionRegistry::FactoryEntry::FactoryEntry() = default;