summaryrefslogtreecommitdiffstats
path: root/chrome/browser/extensions/extension_host.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/browser/extensions/extension_host.h')
-rwxr-xr-xchrome/browser/extensions/extension_host.h5
1 files changed, 4 insertions, 1 deletions
diff --git a/chrome/browser/extensions/extension_host.h b/chrome/browser/extensions/extension_host.h
index 6a80cb4..0e97c91 100755
--- a/chrome/browser/extensions/extension_host.h
+++ b/chrome/browser/extensions/extension_host.h
@@ -41,7 +41,7 @@ class ExtensionHost : public RenderViewHostDelegate,
// RenderViewHostDelegate
// TODO(mpcomplete): GetProfile is unused.
virtual Profile* GetProfile() const { return NULL; }
- virtual void RenderViewCreated(RenderViewHost* render_view_host);
+ virtual const GURL& GetURL() const { return url_; }
virtual void DidContentsPreferredWidthChange(const int pref_width);
virtual WebPreferences GetWebkitPrefs();
virtual void RunJavaScriptMessage(
@@ -94,6 +94,9 @@ class ExtensionHost : public RenderViewHostDelegate,
// Whether the RenderWidget has reported that it has stopped loading.
bool did_stop_loading_;
+ // The URL being hosted.
+ GURL url_;
+
DISALLOW_COPY_AND_ASSIGN(ExtensionHost);
};