| 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 | 5 |
| 6 /** | 6 /** |
| 7 * This file defines the <strong>PPB_URLLoader</strong> interface for loading | 7 * This file defines the <strong>PPB_URLLoader</strong> interface for loading |
| 8 * URLs. | 8 * URLs. |
| 9 */ | 9 */ |
| 10 | 10 |
| 11 label Chrome { | 11 label Chrome { |
| 12 M13 = 0.2, | |
| 13 M14 = 1.0 | 12 M14 = 1.0 |
| 14 }; | 13 }; |
| 15 | 14 |
| 16 /** | 15 /** |
| 17 * The <strong>PPB_URLLoader</strong> interface contains pointers to functions | 16 * The <strong>PPB_URLLoader</strong> interface contains pointers to functions |
| 18 * for loading URLs. The typical steps for loading a URL are: | 17 * for loading URLs. The typical steps for loading a URL are: |
| 19 * | 18 * |
| 20 * -# Call Create() to create a URLLoader object. | 19 * -# Call Create() to create a URLLoader object. |
| 21 * -# Create a <code>URLRequestInfo</code> object and set properties on it. | 20 * -# Create a <code>URLRequestInfo</code> object and set properties on it. |
| 22 * Refer to <code>PPB_URLRequestInfo</code> for further information. | 21 * Refer to <code>PPB_URLRequestInfo</code> for further information. |
| (...skipping 190 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 213 * while it is still open, then it will be implicitly closed so you are not | 212 * while it is still open, then it will be implicitly closed so you are not |
| 214 * required to call Close(). | 213 * required to call Close(). |
| 215 * | 214 * |
| 216 * @param[in] loader A <code>PP_Resource</code> corresponding to a | 215 * @param[in] loader A <code>PP_Resource</code> corresponding to a |
| 217 * <code>URLLoader</code>. | 216 * <code>URLLoader</code>. |
| 218 */ | 217 */ |
| 219 void Close( | 218 void Close( |
| 220 [in] PP_Resource loader); | 219 [in] PP_Resource loader); |
| 221 }; | 220 }; |
| 222 | 221 |
| OLD | NEW |