OLD | NEW |
1 /* Copyright (c) 2011 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2011 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 #ifndef PPAPI_C_PPB_URL_REQUEST_INFO_H_ | 5 #ifndef PPAPI_C_PPB_URL_REQUEST_INFO_H_ |
6 #define PPAPI_C_PPB_URL_REQUEST_INFO_H_ | 6 #define PPAPI_C_PPB_URL_REQUEST_INFO_H_ |
7 | 7 |
8 #include "ppapi/c/pp_bool.h" | 8 #include "ppapi/c/pp_bool.h" |
9 #include "ppapi/c/pp_instance.h" | 9 #include "ppapi/c/pp_instance.h" |
10 #include "ppapi/c/pp_macros.h" | 10 #include "ppapi/c/pp_macros.h" |
(...skipping 140 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
151 * be set. Behavior is undefined if the former is >= the latter. | 151 * be set. Behavior is undefined if the former is >= the latter. |
152 */ | 152 */ |
153 PP_URLREQUESTPROPERTY_PREFETCHBUFFERLOWERTHRESHOLD | 153 PP_URLREQUESTPROPERTY_PREFETCHBUFFERLOWERTHRESHOLD |
154 } PP_URLRequestProperty; | 154 } PP_URLRequestProperty; |
155 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_URLRequestProperty, 4); | 155 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_URLRequestProperty, 4); |
156 /** | 156 /** |
157 * @} | 157 * @} |
158 */ | 158 */ |
159 | 159 |
160 #define PPB_URLREQUESTINFO_INTERFACE_0_2 "PPB_URLRequestInfo;0.2" | 160 #define PPB_URLREQUESTINFO_INTERFACE_0_2 "PPB_URLRequestInfo;0.2" |
161 #define PPB_URLREQUESTINFO_INTERFACE PPB_URLREQUESTINFO_INTERFACE_0_2 | 161 #define PPB_URLREQUESTINFO_INTERFACE_1_0 "PPB_URLRequestInfo;1.0" |
| 162 #define PPB_URLREQUESTINFO_INTERFACE PPB_URLREQUESTINFO_INTERFACE_1_0 |
162 | 163 |
163 /** | 164 /** |
164 * | 165 * |
165 * @addtogroup Interfaces | 166 * @addtogroup Interfaces |
166 * @{ | 167 * @{ |
167 */ | 168 */ |
168 | 169 |
169 /** | 170 /** |
170 * The <code>PPB_URLRequestInfo</code> interface is used to create | 171 * The <code>PPB_URLRequestInfo</code> interface is used to create |
171 * and handle URL requests. This API is used in conjunction with | 172 * and handle URL requests. This API is used in conjunction with |
(...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
260 int64_t start_offset, | 261 int64_t start_offset, |
261 int64_t number_of_bytes, | 262 int64_t number_of_bytes, |
262 PP_Time expected_last_modified_time); | 263 PP_Time expected_last_modified_time); |
263 }; | 264 }; |
264 /** | 265 /** |
265 * @} | 266 * @} |
266 */ | 267 */ |
267 | 268 |
268 #endif /* PPAPI_C_PPB_URL_REQUEST_INFO_H_ */ | 269 #endif /* PPAPI_C_PPB_URL_REQUEST_INFO_H_ */ |
269 | 270 |
OLD | NEW |