Index: chrome/browser/extensions/extension_function_dispatcher.h |
=================================================================== |
--- chrome/browser/extensions/extension_function_dispatcher.h (revision 22246) |
+++ chrome/browser/extensions/extension_function_dispatcher.h (working copy) |
@@ -14,7 +14,6 @@ |
class Browser; |
class ExtensionFunction; |
-class ExtensionHost; |
class Profile; |
class RenderViewHost; |
class RenderViewHostDelegate; |
@@ -30,7 +29,6 @@ |
class Delegate { |
public: |
virtual Browser* GetBrowser() = 0; |
- virtual ExtensionHost* GetExtensionHost() { return NULL; } |
}; |
// The peer object allows us to notify ExtensionFunctions when we are |
@@ -70,10 +68,6 @@ |
// example, for positioning windows, or alert boxes, or creating tabs. |
Browser* GetBrowser(); |
- // Gets the ExtensionHost associated with this object. In the case of |
- // tab hosted extension pages, this will return NULL. |
- ExtensionHost* GetExtensionHost(); |
- |
// Handle a malformed message. Possibly the result of an attack, so kill |
// the renderer. |
void HandleBadMessage(ExtensionFunction* api); |