Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1515)

Unified Diff: chrome/browser/extensions/extension_function_registry.cc

Issue 10107026: Revert 132440 - Allow extension APIs to be compiled out. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Created 8 years, 8 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « chrome/browser/extensions/extension_disabled_ui.cc ('k') | chrome/browser/extensions/extension_service.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/extensions/extension_function_registry.cc
===================================================================
--- chrome/browser/extensions/extension_function_registry.cc (revision 132588)
+++ chrome/browser/extensions/extension_function_registry.cc (working copy)
@@ -84,8 +84,6 @@
}
void ExtensionFunctionRegistry::ResetFunctions() {
-#if defined(ENABLE_EXTENSIONS)
-
// Register all functions here.
// Windows
@@ -505,7 +503,6 @@
// Generated APIs
extensions::api::GeneratedFunctionRegistry::RegisterAll(this);
-#endif // defined(ENABLE_EXTENSIONS)
}
void ExtensionFunctionRegistry::GetAllNames(std::vector<std::string>* names) {
« no previous file with comments | « chrome/browser/extensions/extension_disabled_ui.cc ('k') | chrome/browser/extensions/extension_service.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698