From 4523fd290e2915710025b46c15be689cb7638a00 Mon Sep 17 00:00:00 2001 From: "chrome-bot@google.com" Date: Sun, 2 Aug 2009 00:14:02 +0000 Subject: Rolling back change 22245. Too much red :-( BUG=None TEST=None TBR=erikkay Review URL: http://codereview.chromium.org/159763 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@22247 0039d316-1c4b-4281-b951-d872f2087c98 --- chrome/browser/extensions/extension_function_dispatcher.h | 6 ------ 1 file changed, 6 deletions(-) (limited to 'chrome/browser/extensions/extension_function_dispatcher.h') diff --git a/chrome/browser/extensions/extension_function_dispatcher.h b/chrome/browser/extensions/extension_function_dispatcher.h index 7a47b3f..0e79882 100644 --- a/chrome/browser/extensions/extension_function_dispatcher.h +++ b/chrome/browser/extensions/extension_function_dispatcher.h @@ -14,7 +14,6 @@ class Browser; class ExtensionFunction; -class ExtensionHost; class Profile; class RenderViewHost; class RenderViewHostDelegate; @@ -30,7 +29,6 @@ class ExtensionFunctionDispatcher { 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 @@ class ExtensionFunctionDispatcher { // 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); -- cgit v1.1