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

Unified Diff: chrome/browser/extensions/extension_function_test_utils.cc

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_function_test_utils.cc
diff --git a/chrome/browser/extensions/extension_function_test_utils.cc b/chrome/browser/extensions/extension_function_test_utils.cc
index f5561f3312270d7157a0643c83863dc87ec04919..3e30bfc3e1b57b9ce0eda6e445ac371886497405 100644
--- a/chrome/browser/extensions/extension_function_test_utils.cc
+++ b/chrome/browser/extensions/extension_function_test_utils.cc
@@ -28,8 +28,9 @@ class TestFunctionDispatcherDelegate
virtual ~TestFunctionDispatcherDelegate() {}
private:
- virtual Browser* GetBrowser() OVERRIDE {
- return browser_;
+ virtual ExtensionWindowController* GetExtensionWindowController()
+ const OVERRIDE {
+ return browser_->extension_window_controller();
}
virtual WebContents* GetAssociatedWebContents() const OVERRIDE {

Powered by Google App Engine
This is Rietveld 408576698