Index: ppapi/c/dev/ppb_url_util_dev.h |
=================================================================== |
--- ppapi/c/dev/ppb_url_util_dev.h (revision 219784) |
+++ ppapi/c/dev/ppb_url_util_dev.h (working copy) |
@@ -163,6 +163,16 @@ |
struct PP_Var (*GetPluginInstanceURL)( |
PP_Instance instance, |
struct PP_URLComponents_Dev* components); |
+ /* |
+ * Returns the 'Referer' HTTP header value that was sent by the request |
+ * that loaded plug-in. Undefined value means 'Referer' header is absent. |
+ * The components pointer, if non-NULL and the canonicalized URL is valid, |
+ * will identify the components of the resulting URL. Components may be NULL |
+ * to specify that no component information is necessary. |
+ */ |
+ struct PP_Var (*GetPluginRefererURL)( |
+ PP_Instance instance, |
+ struct PP_URLComponents_Dev* components); |
}; |
typedef struct PPB_URLUtil_Dev_0_6 PPB_URLUtil_Dev; |