Index: chrome/browser/extensions/extension_host.h |
diff --git a/chrome/browser/extensions/extension_host.h b/chrome/browser/extensions/extension_host.h |
index 70434e34e163b41db2e338c0304970c82b3c3891..d7a68b1e1e49b69b49fa11305f516d6d1a7b179c 100644 |
--- a/chrome/browser/extensions/extension_host.h |
+++ b/chrome/browser/extensions/extension_host.h |
@@ -19,6 +19,7 @@ |
#include "extensions/common/stack_frame.h" |
#include "extensions/common/view_type.h" |
+class ExtensionService; |
class PrefsTabHelper; |
namespace content { |
@@ -128,6 +129,9 @@ class ExtensionHost : public content::WebContentsDelegate, |
// Actually create the RenderView for this host. See CreateRenderViewSoon. |
void CreateRenderViewNow(); |
+ // Returns the ExtensionService for |browser_context_| or NULL if none exists. |
+ ExtensionService* GetExtensionService(); |
+ |
// Message handlers. |
void OnRequest(const ExtensionHostMsg_Request_Params& params); |
void OnEventAck(); |