diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-08 18:31:20 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-08 18:31:20 +0000 |
commit | bd11ba32a3a9844a15ed2a0c2cf6a4140c2853ae (patch) | |
tree | 32c018c626c1b6580224fdd8ff7b2cc7aeadcbab /chrome/plugin/webplugin_proxy.h | |
parent | 6f65cc3b4114080938c42bc1f3f55c0188f27163 (diff) | |
download | chromium_src-bd11ba32a3a9844a15ed2a0c2cf6a4140c2853ae.zip chromium_src-bd11ba32a3a9844a15ed2a0c2cf6a4140c2853ae.tar.gz chromium_src-bd11ba32a3a9844a15ed2a0c2cf6a4140c2853ae.tar.bz2 |
Add the page url to plugin crashes to aid debugging.
Review URL: http://codereview.chromium.org/149305
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20173 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/plugin/webplugin_proxy.h')
-rw-r--r-- | chrome/plugin/webplugin_proxy.h | 6 |
1 files changed, 5 insertions, 1 deletions
diff --git a/chrome/plugin/webplugin_proxy.h b/chrome/plugin/webplugin_proxy.h index 0388514..103be5c 100644 --- a/chrome/plugin/webplugin_proxy.h +++ b/chrome/plugin/webplugin_proxy.h @@ -16,6 +16,7 @@ #include "chrome/common/ipc_message.h" #include "chrome/common/chrome_plugin_api.h" #include "chrome/common/transport_dib.h" +#include "googleurl/src/gurl.h" #include "webkit/glue/webplugin.h" namespace base { @@ -33,7 +34,8 @@ class WebPluginProxy : public WebPlugin { // marshalled WebPlugin calls. WebPluginProxy(PluginChannel* channel, int route_id, - WebPluginDelegate* delegate); + WebPluginDelegate* delegate, + const GURL& page_url); ~WebPluginProxy(); // WebPlugin overrides @@ -156,6 +158,8 @@ class WebPluginProxy : public WebPlugin { gfx::Rect damaged_rect_; bool waiting_for_paint_; scoped_ptr<base::WaitableEvent> modal_dialog_event_; + // The url of the main frame hosting the plugin. + GURL page_url_; #if defined(OS_WIN) // Variables used for desynchronized windowless plugin painting. See note in |