Index: chrome/plugin/npobject_stub.h |
=================================================================== |
--- chrome/plugin/npobject_stub.h (revision 20181) |
+++ chrome/plugin/npobject_stub.h (working copy) |
@@ -12,6 +12,7 @@ |
#include "base/ref_counted.h" |
#include "chrome/common/ipc_channel.h" |
+#include "googleurl/src/gurl.h" |
namespace base { |
class WaitableEvent; |
@@ -32,7 +33,8 @@ |
NPObjectStub(NPObject* npobject, |
PluginChannelBase* channel, |
int route_id, |
- base::WaitableEvent* modal_dialog_event); |
+ base::WaitableEvent* modal_dialog_event, |
+ const GURL& page_url); |
~NPObjectStub(); |
// IPC::Message::Sender implementation: |
@@ -90,6 +92,9 @@ |
WebPluginDelegateProxy* web_plugin_delegate_proxy_; |
base::WaitableEvent* modal_dialog_event_; |
+ |
+ // The url of the main frame hosting the plugin. |
+ GURL page_url_; |
}; |
#endif // CHROME_PLUGIN_NPOBJECT_STUB_H_ |