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

Side by Side 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 unified diff | Download patch | Annotate | Revision Log
« 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 »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 /* Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 * Use of this source code is governed by a BSD-style license that can be 2 * Use of this source code is governed by a BSD-style license that can be
3 * found in the LICENSE file. 3 * found in the LICENSE file.
4 */ 4 */
5 5
6 /** 6 /**
7 * This file defines the <code>PPB_URLUtil_Dev</code> interface. 7 * This file defines the <code>PPB_URLUtil_Dev</code> interface.
8 */ 8 */
9 9
bbudge 2013/08/28 20:35:35 If you put this here: [generate_thunk] Can the th
10 label Chrome { 10 label Chrome {
11 M17 = 0.6 11 M17 = 0.6,
12 M31 = 0.7
12 }; 13 };
13 14
14 /* 15 /*
15 * A component specifies the range of the part of the URL. The begin specifies 16 * A component specifies the range of the part of the URL. The begin specifies
16 * the index into the string of the first character of that component. The len 17 * the index into the string of the first character of that component. The len
17 * specifies the length of that component. 18 * specifies the length of that component.
18 * 19 *
19 * This range does not include any special delimiter for that component, so 20 * This range does not include any special delimiter for that component, so
20 * the scheme doesn't include the trailing colon, the username and password 21 * the scheme doesn't include the trailing colon, the username and password
21 * don't include the @ and :, the port doesn't include the colon, the query 22 * don't include the @ and :, the port doesn't include the colon, the query
(...skipping 117 matching lines...) Expand 10 before | Expand all | Expand 10 after
139 * streamed to the plugin if it were a NPAPI plugin. This is usually the src 140 * streamed to the plugin if it were a NPAPI plugin. This is usually the src
140 * attribute on the <embed> element, but the rules are obscure and different 141 * attribute on the <embed> element, but the rules are obscure and different
141 * based on whether the plugin is loaded from an <embed> element or an 142 * based on whether the plugin is loaded from an <embed> element or an
142 * <object> element. 143 * <object> element.
143 * The components pointer, if non-NULL and the canonicalized URL is valid, 144 * The components pointer, if non-NULL and the canonicalized URL is valid,
144 * will identify the components of the resulting URL. Components may be NULL 145 * will identify the components of the resulting URL. Components may be NULL
145 * to specify that no component information is necessary. 146 * to specify that no component information is necessary.
146 */ 147 */
147 PP_Var GetPluginInstanceURL([in] PP_Instance instance, 148 PP_Var GetPluginInstanceURL([in] PP_Instance instance,
148 [out] PP_URLComponents_Dev components); 149 [out] PP_URLComponents_Dev components);
150
151 /*
152 * Returns the Referrer URL of the HTTP request that loaded the plugin. This
153 * is the value of the 'Referer' header of the request. An undefined value
154 * means the 'Referer' header was absent.
155 * The components pointer, if non-NULL and the canonicalized URL is valid,
156 * will identify the components of the resulting URL. Components may be NULL
157 * to specify that no component information is necessary.
158 */
159 [version=0.7]
160 PP_Var GetPluginReferrerURL([in] PP_Instance instance,
161 [out] PP_URLComponents_Dev components);
149 }; 162 };
OLDNEW
« 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