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

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, 3 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 221828)
+++ ppapi/api/dev/ppb_url_util_dev.idl (working copy)
@@ -7,8 +7,11 @@
* This file defines the <code>PPB_URLUtil_Dev</code> interface.
*/
+[generate_thunk]
+
label Chrome {
- M17 = 0.6
+ M17 = 0.6,
+ M31 = 0.7
};
/*
@@ -146,4 +149,16 @@
*/
PP_Var GetPluginInstanceURL([in] PP_Instance instance,
[out] PP_URLComponents_Dev components);
+
+ /*
+ * Returns the Referrer 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.
+ */
+ [version=0.7]
+ PP_Var GetPluginReferrerURL([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