OLD | NEW |
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 /* From dev/ppb_url_util_dev.idl modified Fri Dec 16 17:34:59 2011. */ | 6 /* From dev/ppb_url_util_dev.idl modified Fri Dec 16 17:34:59 2011. */ |
7 | 7 |
8 #ifndef PPAPI_C_DEV_PPB_URL_UTIL_DEV_H_ | 8 #ifndef PPAPI_C_DEV_PPB_URL_UTIL_DEV_H_ |
9 #define PPAPI_C_DEV_PPB_URL_UTIL_DEV_H_ | 9 #define PPAPI_C_DEV_PPB_URL_UTIL_DEV_H_ |
10 | 10 |
(...skipping 145 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
156 * attribute on the <embed> element, but the rules are obscure and different | 156 * attribute on the <embed> element, but the rules are obscure and different |
157 * based on whether the plugin is loaded from an <embed> element or an | 157 * based on whether the plugin is loaded from an <embed> element or an |
158 * <object> element. | 158 * <object> element. |
159 * The components pointer, if non-NULL and the canonicalized URL is valid, | 159 * The components pointer, if non-NULL and the canonicalized URL is valid, |
160 * will identify the components of the resulting URL. Components may be NULL | 160 * will identify the components of the resulting URL. Components may be NULL |
161 * to specify that no component information is necessary. | 161 * to specify that no component information is necessary. |
162 */ | 162 */ |
163 struct PP_Var (*GetPluginInstanceURL)( | 163 struct PP_Var (*GetPluginInstanceURL)( |
164 PP_Instance instance, | 164 PP_Instance instance, |
165 struct PP_URLComponents_Dev* components); | 165 struct PP_URLComponents_Dev* components); |
| 166 /* |
| 167 * Returns the 'Referer' HTTP header value that was sent by the request |
| 168 * that loaded plug-in. Undefined value means 'Referer' header is absent. |
| 169 * The components pointer, if non-NULL and the canonicalized URL is valid, |
| 170 * will identify the components of the resulting URL. Components may be NULL |
| 171 * to specify that no component information is necessary. |
| 172 */ |
| 173 struct PP_Var (*GetPluginRefererURL)( |
| 174 PP_Instance instance, |
| 175 struct PP_URLComponents_Dev* components); |
166 }; | 176 }; |
167 | 177 |
168 typedef struct PPB_URLUtil_Dev_0_6 PPB_URLUtil_Dev; | 178 typedef struct PPB_URLUtil_Dev_0_6 PPB_URLUtil_Dev; |
169 /** | 179 /** |
170 * @} | 180 * @} |
171 */ | 181 */ |
172 | 182 |
173 #endif /* PPAPI_C_DEV_PPB_URL_UTIL_DEV_H_ */ | 183 #endif /* PPAPI_C_DEV_PPB_URL_UTIL_DEV_H_ */ |
174 | 184 |
OLD | NEW |