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

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
« no previous file with comments | « content/renderer/pepper/pepper_plugin_instance_impl.cc ('k') | ppapi/c/dev/ppb_url_util_dev.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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)
@@ -146,4 +146,13 @@
*/
PP_Var GetPluginInstanceURL([in] PP_Instance instance,
[out] 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.
bbudge 2013/08/27 18:16:07 Wording is a bit awkward. How about this? Returns
+ * 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.
+ */
+ PP_Var GetPluginRefererURL([in] PP_Instance instance,
+ [out] PP_URLComponents_Dev components);
};
« no previous file with comments | « content/renderer/pepper/pepper_plugin_instance_impl.cc ('k') | ppapi/c/dev/ppb_url_util_dev.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698