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

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
10 label Chrome { 10 label Chrome {
11 M17 = 0.6 11 M17 = 0.6
bbudge 2013/08/27 18:16:07 You should version the interface (create a 0.7). F
12 }; 12 };
13 13
14 /* 14 /*
15 * A component specifies the range of the part of the URL. The begin specifies 15 * 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 16 * the index into the string of the first character of that component. The len
17 * specifies the length of that component. 17 * specifies the length of that component.
18 * 18 *
19 * This range does not include any special delimiter for that component, so 19 * 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 20 * 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 21 * 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 139 * 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 140 * 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 141 * based on whether the plugin is loaded from an <embed> element or an
142 * <object> element. 142 * <object> element.
143 * The components pointer, if non-NULL and the canonicalized URL is valid, 143 * 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 144 * will identify the components of the resulting URL. Components may be NULL
145 * to specify that no component information is necessary. 145 * to specify that no component information is necessary.
146 */ 146 */
147 PP_Var GetPluginInstanceURL([in] PP_Instance instance, 147 PP_Var GetPluginInstanceURL([in] PP_Instance instance,
148 [out] PP_URLComponents_Dev components); 148 [out] PP_URLComponents_Dev components);
149 /*
150 * Returns the 'Referer' HTTP header value that was sent by the request
151 * 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
152 * The components pointer, if non-NULL and the canonicalized URL is valid,
153 * will identify the components of the resulting URL. Components may be NULL
154 * to specify that no component information is necessary.
155 */
156 PP_Var GetPluginRefererURL([in] PP_Instance instance,
157 [out] PP_URLComponents_Dev components);
149 }; 158 };
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