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_LOADER_H_ | 5 #ifndef PPAPI_C_PPB_URL_LOADER_H_ |
6 #define PPAPI_C_PPB_URL_LOADER_H_ | 6 #define PPAPI_C_PPB_URL_LOADER_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_resource.h" | 10 #include "ppapi/c/pp_resource.h" |
11 #include "ppapi/c/pp_stdint.h" | 11 #include "ppapi/c/pp_stdint.h" |
12 | 12 |
13 struct PP_CompletionCallback; | 13 struct PP_CompletionCallback; |
14 | 14 |
15 #define PPB_URLLOADER_INTERFACE_0_1 "PPB_URLLoader;0.1" | 15 #define PPB_URLLOADER_INTERFACE_0_2 "PPB_URLLoader;0.2" |
16 #define PPB_URLLOADER_INTERFACE PPB_URLLOADER_INTERFACE_0_1 | 16 #define PPB_URLLOADER_INTERFACE PPB_URLLOADER_INTERFACE_0_2 |
17 | 17 |
18 /** | 18 /** |
19 * @file | 19 * @file |
20 * This file defines the PPB_URLLoader interface for loading URLs. | 20 * This file defines the PPB_URLLoader interface for loading URLs. |
21 */ | 21 */ |
22 | 22 |
23 /** | 23 /** |
24 * @addtogroup Interfaces | 24 * @addtogroup Interfaces |
25 * @{ | 25 * @{ |
26 */ | 26 */ |
(...skipping 168 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
195 * | 195 * |
196 * @param[in] loader A PP_Resource corresponding to a URLLoader. | 196 * @param[in] loader A PP_Resource corresponding to a URLLoader. |
197 */ | 197 */ |
198 void (*Close)(PP_Resource loader); | 198 void (*Close)(PP_Resource loader); |
199 }; | 199 }; |
200 /** | 200 /** |
201 * @} | 201 * @} |
202 */ | 202 */ |
203 | 203 |
204 #endif /* PPAPI_C_PPB_URL_LOADER_H_ */ | 204 #endif /* PPAPI_C_PPB_URL_LOADER_H_ */ |
205 | |
OLD | NEW |