Index: webkit/plugins/ppapi/ppb_broker_impl.h |
diff --git a/webkit/plugins/ppapi/ppb_broker_impl.h b/webkit/plugins/ppapi/ppb_broker_impl.h |
index 6799c4f8ad5f8574139649e8ee9322ecf1824cdf..ab02ae852685ff6a3543d7f89fd2cea9387bf83a 100644 |
--- a/webkit/plugins/ppapi/ppb_broker_impl.h |
+++ b/webkit/plugins/ppapi/ppb_broker_impl.h |
@@ -36,6 +36,10 @@ class WEBKIT_PLUGINS_EXPORT PPB_Broker_Impl |
scoped_refptr< ::ppapi::TrackedCallback> connect_callback) OVERRIDE; |
virtual int32_t GetHandle(int32_t* handle) OVERRIDE; |
+ // Returns the URL of the document this plug-in runs in. This is necessary to |
+ // decide whether to grant access to the PPAPI broker. |
+ GURL GetDocumentUrl(); |
+ |
void BrokerConnected(int32_t handle, int32_t result); |
private: |