Index: chrome/browser/extensions/extension_function_registry.cc |
diff --git a/chrome/browser/extensions/extension_function_registry.cc b/chrome/browser/extensions/extension_function_registry.cc |
index b1fee1ec21eb2b983cc70649318013817fd9d8d7..123bc64f6388fb94aca3f2f23bcfe92c06ff3c27 100644 |
--- a/chrome/browser/extensions/extension_function_registry.cc |
+++ b/chrome/browser/extensions/extension_function_registry.cc |
@@ -85,6 +85,8 @@ ExtensionFunctionRegistry::~ExtensionFunctionRegistry() { |
} |
void ExtensionFunctionRegistry::ResetFunctions() { |
+#if defined(ENABLE_EXTENSIONS) |
+ |
// Register all functions here. |
// Alarms |
@@ -511,6 +513,7 @@ void ExtensionFunctionRegistry::ResetFunctions() { |
// Generated APIs |
extensions::api::GeneratedFunctionRegistry::RegisterAll(this); |
+#endif // defined(ENABLE_EXTENSIONS) |
} |
void ExtensionFunctionRegistry::GetAllNames(std::vector<std::string>* names) { |