Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(116)

Unified Diff: ppapi/api/dev/ppb_url_util_dev.idl

Issue 23444004: Add GetPluginRefererURL to PPB_URLUtil_Dev interface to get the 'Referer' HTTP header value that wa… (Closed) Base URL: http://src.chromium.org/svn/trunk/src/
Patch Set: Created 7 years, 4 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: ppapi/api/dev/ppb_url_util_dev.idl
===================================================================
--- ppapi/api/dev/ppb_url_util_dev.idl (revision 219784)
+++ ppapi/api/dev/ppb_url_util_dev.idl (working copy)
@@ -8,7 +8,8 @@
*/
label Chrome {
- M17 = 0.6
+ M17 = 0.6,
+ M30 = 0.7
bbudge 2013/08/27 22:36:30 Don't forget to re-run the generator.
yzshen1 2013/08/28 17:44:30 Now the earliest milestone is M31.
};
/*
@@ -146,4 +147,15 @@
*/
PP_Var GetPluginInstanceURL([in] PP_Instance instance,
[out] PP_URLComponents_Dev components);
+ /*
+ * Returns the Referer URL of the HTTP request that loaded the plugin. This is
piman 2013/08/27 22:48:22 nit: s/Referer/Referrer/ when you're not explicitl
+ * 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.
+ */
+ [version=0.7]
+ PP_Var GetPluginRefererURL([in] PP_Instance instance,
+ [out] PP_URLComponents_Dev components);
};

Powered by Google App Engine
This is Rietveld 408576698