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

Unified Diff: chrome/browser/extensions/extension_host.h

Issue 10021071: Remove Browser dependency in ExtensionFunctionDispatcher (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase Created 8 years, 8 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: chrome/browser/extensions/extension_host.h
diff --git a/chrome/browser/extensions/extension_host.h b/chrome/browser/extensions/extension_host.h
index be0208af778ffe670deda5a38ffa9a8125691910..764f05befc8cf916a7986993e92e910c4708eddb 100644
--- a/chrome/browser/extensions/extension_host.h
+++ b/chrome/browser/extensions/extension_host.h
@@ -32,6 +32,7 @@
class Browser;
class Extension;
+class ExtensionWindowController;
class PrefsTabHelper;
namespace content {
@@ -180,11 +181,9 @@ class ExtensionHost : public content::WebContentsDelegate,
// Closes this host (results in deletion).
void Close();
- // Const version of below function.
- const Browser* GetBrowser() const;
-
// ExtensionFunctionDispatcher::Delegate
- virtual Browser* GetBrowser() OVERRIDE;
+ virtual ExtensionWindowController* GetExtensionWindowController()
+ const OVERRIDE;
// Message handlers.
void OnRequest(const ExtensionHostMsg_Request_Params& params);

Powered by Google App Engine
This is Rietveld 408576698