summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_host.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/extension_host.cc')
-rw-r--r--chrome/browser/extensions/extension_host.cc4
1 files changed, 4 insertions, 0 deletions
diff --git a/chrome/browser/extensions/extension_host.cc b/chrome/browser/extensions/extension_host.cc
index b859c41..e8da09d 100644
--- a/chrome/browser/extensions/extension_host.cc
+++ b/chrome/browser/extensions/extension_host.cc
@@ -258,6 +258,10 @@ WindowController* ExtensionHost::GetExtensionWindowController() const {
view()->browser()->extension_window_controller() : NULL;
}
+content::BrowserContext* ExtensionHost::browser_context() {
+ return profile_;
+}
+
const GURL& ExtensionHost::GetURL() const {
return host_contents()->GetURL();
}