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,17 @@ |
struct PP_Var (*GetPluginInstanceURL)( |
PP_Instance instance, |
struct PP_URLComponents_Dev* components); |
+ /* |
+ * Returns the Referer URL of the HTTP request that loaded the plugin. This is |
+ * the value of the 'Referer' header of the request. An undefined value means |
+ * the 'Referer' header was 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; |