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 69 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
80 * HTTP Header Field Definitions</a> documentation for further information. | 80 * HTTP Header Field Definitions</a> documentation for further information. |
81 */ | 81 */ |
82 PP_URLRESPONSEPROPERTY_HEADERS | 82 PP_URLRESPONSEPROPERTY_HEADERS |
83 } PP_URLResponseProperty; | 83 } PP_URLResponseProperty; |
84 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_URLResponseProperty, 4); | 84 PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_URLResponseProperty, 4); |
85 /** | 85 /** |
86 * @} | 86 * @} |
87 */ | 87 */ |
88 | 88 |
89 #define PPB_URLRESPONSEINFO_INTERFACE_0_1 "PPB_URLResponseInfo;0.1" | 89 #define PPB_URLRESPONSEINFO_INTERFACE_0_1 "PPB_URLResponseInfo;0.1" |
90 #define PPB_URLRESPONSEINFO_INTERFACE PPB_URLRESPONSEINFO_INTERFACE_0_1 | 90 #define PPB_URLRESPONSEINFO_INTERFACE_1_0 "PPB_URLResponseInfo;1.0" |
| 91 #define PPB_URLRESPONSEINFO_INTERFACE PPB_URLRESPONSEINFO_INTERFACE_1_0 |
91 | 92 |
92 /** | 93 /** |
93 * | 94 * |
94 * @addtogroup Interfaces | 95 * @addtogroup Interfaces |
95 * @{ | 96 * @{ |
96 */ | 97 */ |
97 | 98 |
98 /** | 99 /** |
99 * The PPB_URLResponseInfo interface contains APIs for | 100 * The PPB_URLResponseInfo interface contains APIs for |
100 * examining URL responses. Refer to <code>PPB_URLLoader</code> for further | 101 * examining URL responses. Refer to <code>PPB_URLLoader</code> for further |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
145 * requested or if the <code>URLLoader</code> has not been opened yet. | 146 * requested or if the <code>URLLoader</code> has not been opened yet. |
146 */ | 147 */ |
147 PP_Resource (*GetBodyAsFileRef)(PP_Resource response); | 148 PP_Resource (*GetBodyAsFileRef)(PP_Resource response); |
148 }; | 149 }; |
149 /** | 150 /** |
150 * @} | 151 * @} |
151 */ | 152 */ |
152 | 153 |
153 #endif /* PPAPI_C_PPB_URL_RESPONSE_INFO_H_ */ | 154 #endif /* PPAPI_C_PPB_URL_RESPONSE_INFO_H_ */ |
154 | 155 |
OLD | NEW |