diff options
author | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-08 21:40:55 +0000 |
---|---|---|
committer | jam@chromium.org <jam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-07-08 21:40:55 +0000 |
commit | ef9162785c55957324e72f737bb9b6b2406053dd (patch) | |
tree | d8c4b934a957eff37caffa911c91066fe27e04fb /chrome/plugin/npobject_util.h | |
parent | 9e6f8526f9a60410b6d448103a9015d72a067deb (diff) | |
download | chromium_src-ef9162785c55957324e72f737bb9b6b2406053dd.zip chromium_src-ef9162785c55957324e72f737bb9b6b2406053dd.tar.gz chromium_src-ef9162785c55957324e72f737bb9b6b2406053dd.tar.bz2 |
Add the page url to plugin crashes to aid debugging.
Review URL: http://codereview.chromium.org/155238
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@20191 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/plugin/npobject_util.h')
-rw-r--r-- | chrome/plugin/npobject_util.h | 13 |
1 files changed, 9 insertions, 4 deletions
diff --git a/chrome/plugin/npobject_util.h b/chrome/plugin/npobject_util.h index 9a2907b..861d591 100644 --- a/chrome/plugin/npobject_util.h +++ b/chrome/plugin/npobject_util.h @@ -15,12 +15,15 @@ #include "chrome/plugin/npobject_stub.h" -struct _NPVariant; -typedef _NPVariant NPVariant; +class GURL; class NPObjectProxy; class PluginChannelBase; + +struct _NPVariant; struct NPIdentifier_Param; struct NPVariant_Param; + +typedef _NPVariant NPVariant; typedef void *NPIdentifier; namespace base { @@ -50,13 +53,15 @@ void CreateNPVariantParam(const NPVariant& variant, PluginChannelBase* channel, NPVariant_Param* param, bool release, - base::WaitableEvent* modal_dialog_event); + base::WaitableEvent* modal_dialog_event, + const GURL& page_url); // Creates an NPVariant from the marshalled object. void CreateNPVariant(const NPVariant_Param& param, PluginChannelBase* channel, NPVariant* result, - base::WaitableEvent* modal_dialog_event); + base::WaitableEvent* modal_dialog_event, + const GURL& page_url); #if defined(OS_WIN) // Given a plugin's HWND, returns an event associated with the TabContents |