| 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_1_0 "PPB_URLRequestInfo;1.0" | 161 #define PPB_URLREQUESTINFO_INTERFACE PPB_URLREQUESTINFO_INTERFACE_0_2 |
| 162 #define PPB_URLREQUESTINFO_INTERFACE PPB_URLREQUESTINFO_INTERFACE_1_0 | |
| 163 | 162 |
| 164 /** | 163 /** |
| 165 * | 164 * |
| 166 * @addtogroup Interfaces | 165 * @addtogroup Interfaces |
| 167 * @{ | 166 * @{ |
| 168 */ | 167 */ |
| 169 | 168 |
| 170 /** | 169 /** |
| 171 * The <code>PPB_URLRequestInfo</code> interface is used to create | 170 * The <code>PPB_URLRequestInfo</code> interface is used to create |
| 172 * and handle URL requests. This API is used in conjunction with | 171 * and handle URL requests. This API is used in conjunction with |
| (...skipping 88 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 261 int64_t start_offset, | 260 int64_t start_offset, |
| 262 int64_t number_of_bytes, | 261 int64_t number_of_bytes, |
| 263 PP_Time expected_last_modified_time); | 262 PP_Time expected_last_modified_time); |
| 264 }; | 263 }; |
| 265 /** | 264 /** |
| 266 * @} | 265 * @} |
| 267 */ | 266 */ |
| 268 | 267 |
| 269 #endif /* PPAPI_C_PPB_URL_REQUEST_INFO_H_ */ | 268 #endif /* PPAPI_C_PPB_URL_REQUEST_INFO_H_ */ |
| 270 | 269 |
| OLD | NEW |