| 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_RESPONSE_INFO_H_ | 5 #ifndef PPAPI_C_PPB_URL_RESPONSE_INFO_H_ |
| 6 #define PPAPI_C_PPB_URL_RESPONSE_INFO_H_ | 6 #define PPAPI_C_PPB_URL_RESPONSE_INFO_H_ |
| 7 | 7 |
| 8 #include "ppapi/c/pp_bool.h" | 8 #include "ppapi/c/pp_bool.h" |
| 9 #include "ppapi/c/pp_macros.h" | 9 #include "ppapi/c/pp_macros.h" |
| 10 #include "ppapi/c/pp_resource.h" | 10 #include "ppapi/c/pp_resource.h" |
| (...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 45 PP_URLRESPONSEPROPERTY_STATUSLINE, | 45 PP_URLRESPONSEPROPERTY_STATUSLINE, |
| 46 | 46 |
| 47 /** This corresponds to a string(PP_VARTYPE_STRING), \n delimited */ | 47 /** This corresponds to a string(PP_VARTYPE_STRING), \n delimited */ |
| 48 PP_URLRESPONSEPROPERTY_HEADERS | 48 PP_URLRESPONSEPROPERTY_HEADERS |
| 49 } PP_URLResponseProperty; | 49 } PP_URLResponseProperty; |
| 50 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_URLResponseProperty, 4); | 50 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_URLResponseProperty, 4); |
| 51 /** | 51 /** |
| 52 * @} | 52 * @} |
| 53 */ | 53 */ |
| 54 | 54 |
| 55 #define PPB_URLRESPONSEINFO_INTERFACE "PPB_URLResponseInfo;0.1" | 55 #define PPB_URLRESPONSEINFO_INTERFACE_0_1 "PPB_URLResponseInfo;0.1" |
| 56 #define PPB_URLRESPONSEINFO_INTERFACE PPB_URLRESPONSEINFO_INTERFACE_0_1 |
| 56 | 57 |
| 57 /** | 58 /** |
| 58 * | 59 * |
| 59 * @addtogroup Interfaces | 60 * @addtogroup Interfaces |
| 60 * @{ | 61 * @{ |
| 61 */ | 62 */ |
| 62 | 63 |
| 63 /** | 64 /** |
| 64 * The PPB_URLResponseInfo interface contains pointers to functions for | 65 * The PPB_URLResponseInfo interface contains pointers to functions for |
| 65 * examining URL responses. Refer to PPB_URLLoader for further | 66 * examining URL responses. Refer to PPB_URLLoader for further |
| (...skipping 38 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 104 * has not been opened yet. | 105 * has not been opened yet. |
| 105 */ | 106 */ |
| 106 PP_Resource (*GetBodyAsFileRef)(PP_Resource response); | 107 PP_Resource (*GetBodyAsFileRef)(PP_Resource response); |
| 107 }; | 108 }; |
| 108 /** | 109 /** |
| 109 * @} | 110 * @} |
| 110 */ | 111 */ |
| 111 | 112 |
| 112 #endif /* PPAPI_C_PPB_URL_RESPONSE_INFO_H_ */ | 113 #endif /* PPAPI_C_PPB_URL_RESPONSE_INFO_H_ */ |
| 113 | 114 |
| OLD | NEW |