| 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 106 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 117 * custom content transfer encoding; if given to a loader without universal | 117 * custom content transfer encoding; if given to a loader without universal |
| 118 * access, PP_ERROR_BADARGUMENT will result. | 118 * access, PP_ERROR_BADARGUMENT will result. |
| 119 */ | 119 */ |
| 120 PP_URLREQUESTPROPERTY_CUSTOMCONTENTTRANSFERENCODING | 120 PP_URLREQUESTPROPERTY_CUSTOMCONTENTTRANSFERENCODING |
| 121 } PP_URLRequestProperty; | 121 } PP_URLRequestProperty; |
| 122 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_URLRequestProperty, 4); | 122 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_URLRequestProperty, 4); |
| 123 /** | 123 /** |
| 124 * @} | 124 * @} |
| 125 */ | 125 */ |
| 126 | 126 |
| 127 #define PPB_URLREQUESTINFO_INTERFACE "PPB_URLRequestInfo;0.2" | 127 #define PPB_URLREQUESTINFO_INTERFACE_0_2 "PPB_URLRequestInfo;0.2" |
| 128 #define PPB_URLREQUESTINFO_INTERFACE PPB_URLREQUESTINFO_INTERFACE_0_2 |
| 128 | 129 |
| 129 /** | 130 /** |
| 130 * | 131 * |
| 131 * @addtogroup Interfaces | 132 * @addtogroup Interfaces |
| 132 * @{ | 133 * @{ |
| 133 */ | 134 */ |
| 134 | 135 |
| 135 /** | 136 /** |
| 136 * The PPB_URLRequestInfo interface contains pointers to functions for creating | 137 * The PPB_URLRequestInfo interface contains pointers to functions for creating |
| 137 * and handling URL requests. Refer to PPB_URLLoader for further information. | 138 * and handling URL requests. Refer to PPB_URLLoader for further information. |
| (...skipping 79 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 217 int64_t start_offset, | 218 int64_t start_offset, |
| 218 int64_t number_of_bytes, | 219 int64_t number_of_bytes, |
| 219 PP_Time expected_last_modified_time); | 220 PP_Time expected_last_modified_time); |
| 220 }; | 221 }; |
| 221 /** | 222 /** |
| 222 * @} | 223 * @} |
| 223 */ | 224 */ |
| 224 | 225 |
| 225 #endif /* PPAPI_C_PPB_URL_REQUEST_INFO_H_ */ | 226 #endif /* PPAPI_C_PPB_URL_REQUEST_INFO_H_ */ |
| 226 | 227 |
| OLD | NEW |