Index: chrome/browser/extensions/extension_host.h |
diff --git a/chrome/browser/extensions/extension_host.h b/chrome/browser/extensions/extension_host.h |
index 66290e32f8c56b5514fc1fd987708058c027860b..f3a721470965698a7be91d6bb4ea4f246a90ebef 100644 |
--- a/chrome/browser/extensions/extension_host.h |
+++ b/chrome/browser/extensions/extension_host.h |
@@ -120,6 +120,7 @@ class ExtensionHost : public RenderViewHostDelegate, |
// part of. If this is a global background page, we use the active Browser |
// instead. |
virtual Browser* GetBrowser(); |
+ virtual ExtensionHost* GetHost() { return this; } |
// The extension that we're hosting in this view. |
Extension* extension_; |