Index: chrome/browser/extensions/extension_function_registry.cc |
=================================================================== |
--- chrome/browser/extensions/extension_function_registry.cc (revision 132590) |
+++ chrome/browser/extensions/extension_function_registry.cc (working copy) |
@@ -84,6 +84,8 @@ |
} |
void ExtensionFunctionRegistry::ResetFunctions() { |
+#if defined(ENABLE_EXTENSIONS) |
+ |
// Register all functions here. |
// Windows |
@@ -503,6 +505,7 @@ |
// Generated APIs |
extensions::api::GeneratedFunctionRegistry::RegisterAll(this); |
+#endif // defined(ENABLE_EXTENSIONS) |
} |
void ExtensionFunctionRegistry::GetAllNames(std::vector<std::string>* names) { |