| 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_completion_callback.h" | 9 #include "ppapi/c/pp_completion_callback.h" |
| 10 #include "ppapi/c/pp_instance.h" | 10 #include "ppapi/c/pp_instance.h" |
| 11 #include "ppapi/c/pp_resource.h" | 11 #include "ppapi/c/pp_resource.h" |
| 12 #include "ppapi/c/pp_stdint.h" | 12 #include "ppapi/c/pp_stdint.h" |
| 13 | 13 |
| 14 #define PPB_URLLOADER_INTERFACE_0_2 "PPB_URLLoader;0.2" | 14 #define PPB_URLLOADER_INTERFACE_0_2 "PPB_URLLoader;0.2" |
| 15 #define PPB_URLLOADER_INTERFACE_1_0 "PPB_URLLoader;1.0" | 15 #define PPB_URLLOADER_INTERFACE PPB_URLLOADER_INTERFACE_0_2 |
| 16 #define PPB_URLLOADER_INTERFACE PPB_URLLOADER_INTERFACE_1_0 | |
| 17 | 16 |
| 18 /** | 17 /** |
| 19 * @file | 18 * @file |
| 20 * This file defines the <strong>PPB_URLLoader</strong> interface for loading | 19 * This file defines the <strong>PPB_URLLoader</strong> interface for loading |
| 21 * URLs. | 20 * URLs. |
| 22 */ | 21 */ |
| 23 | 22 |
| 24 /** | 23 /** |
| 25 * @addtogroup Interfaces | 24 * @addtogroup Interfaces |
| 26 * @{ | 25 * @{ |
| (...skipping 192 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 219 * @param[in] loader A <code>PP_Resource</code> corresponding to a | 218 * @param[in] loader A <code>PP_Resource</code> corresponding to a |
| 220 * <code>URLLoader</code>. | 219 * <code>URLLoader</code>. |
| 221 */ | 220 */ |
| 222 void (*Close)(PP_Resource loader); | 221 void (*Close)(PP_Resource loader); |
| 223 }; | 222 }; |
| 224 /** | 223 /** |
| 225 * @} | 224 * @} |
| 226 */ | 225 */ |
| 227 | 226 |
| 228 #endif /* PPAPI_C_PPB_URL_LOADER_H_ */ | 227 #endif /* PPAPI_C_PPB_URL_LOADER_H_ */ |
| OLD | NEW |