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

Unified Diff: extensions/browser/extensions_browser_client.h

Issue 185293017: Move ExtensionFunctionRegistry out of src/chrome (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: . Created 6 years, 10 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
Index: extensions/browser/extensions_browser_client.h
diff --git a/extensions/browser/extensions_browser_client.h b/extensions/browser/extensions_browser_client.h
index 51cff43700e2c4c342599bb480584c0fa146a9c4..5cdf3a4e92635c6c7ca7a70c0b98f67cab426d37 100644
--- a/extensions/browser/extensions_browser_client.h
+++ b/extensions/browser/extensions_browser_client.h
@@ -11,6 +11,7 @@
#include "base/memory/scoped_ptr.h"
class CommandLine;
+class ExtensionFunctionRegistry;
class PrefService;
namespace content {
@@ -126,6 +127,10 @@ class ExtensionsBrowserClient {
// ExtensionSystem::Get.
virtual ExtensionSystemProvider* GetExtensionSystemFactory() = 0;
+ // Registers extension functions not belonging to the core extensions APIs.
+ virtual void RegisterAdditionalExtensionFunctions(
+ ExtensionFunctionRegistry* registry) const = 0;
+
// Returns the single instance of |this|.
static ExtensionsBrowserClient* Get();

Powered by Google App Engine
This is Rietveld 408576698