summaryrefslogtreecommitdiffstats
path: root/chrome/plugin/npobject_util.h
diff options
context:
space:
mode:
Diffstat (limited to 'chrome/plugin/npobject_util.h')
-rw-r--r--chrome/plugin/npobject_util.h13
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