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_1_0 "PPB_URLResponseInfo;1.0" | 90 #define PPB_URLRESPONSEINFO_INTERFACE PPB_URLRESPONSEINFO_INTERFACE_0_1 |
91 #define PPB_URLRESPONSEINFO_INTERFACE PPB_URLRESPONSEINFO_INTERFACE_1_0 | |
92 | 91 |
93 /** | 92 /** |
94 * | 93 * |
95 * @addtogroup Interfaces | 94 * @addtogroup Interfaces |
96 * @{ | 95 * @{ |
97 */ | 96 */ |
98 | 97 |
99 /** | 98 /** |
100 * The PPB_URLResponseInfo interface contains APIs for | 99 * The PPB_URLResponseInfo interface contains APIs for |
101 * examining URL responses. Refer to <code>PPB_URLLoader</code> for further | 100 * examining URL responses. Refer to <code>PPB_URLLoader</code> for further |
(...skipping 44 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
146 * requested or if the <code>URLLoader</code> has not been opened yet. | 145 * requested or if the <code>URLLoader</code> has not been opened yet. |
147 */ | 146 */ |
148 PP_Resource (*GetBodyAsFileRef)(PP_Resource response); | 147 PP_Resource (*GetBodyAsFileRef)(PP_Resource response); |
149 }; | 148 }; |
150 /** | 149 /** |
151 * @} | 150 * @} |
152 */ | 151 */ |
153 | 152 |
154 #endif /* PPAPI_C_PPB_URL_RESPONSE_INFO_H_ */ | 153 #endif /* PPAPI_C_PPB_URL_RESPONSE_INFO_H_ */ |
155 | 154 |
OLD | NEW |