| 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 <code>PPB_URLRequestInfo</code> API for creating and | 7 * This file defines the <code>PPB_URLRequestInfo</code> API for creating and |
| 8 * manipulating URL requests. | 8 * manipulating URL requests. |
| 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 * This enumeration contains properties that can be set on a URL request. | 16 * This enumeration contains properties that can be set on a URL request. |
| 18 */ | 17 */ |
| 19 [assert_size(4)] | 18 [assert_size(4)] |
| 20 enum PP_URLRequestProperty { | 19 enum PP_URLRequestProperty { |
| 21 /** This corresponds to a string (<code>PP_VARTYPE_STRING</code>). */ | 20 /** This corresponds to a string (<code>PP_VARTYPE_STRING</code>). */ |
| 22 PP_URLREQUESTPROPERTY_URL, | 21 PP_URLREQUESTPROPERTY_URL, |
| (...skipping 215 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 238 * of the parameters are invalid. | 237 * of the parameters are invalid. |
| 239 */ | 238 */ |
| 240 PP_Bool AppendFileToBody( | 239 PP_Bool AppendFileToBody( |
| 241 [in] PP_Resource request, | 240 [in] PP_Resource request, |
| 242 [in] PP_Resource file_ref, | 241 [in] PP_Resource file_ref, |
| 243 [in] int64_t start_offset, | 242 [in] int64_t start_offset, |
| 244 [in] int64_t number_of_bytes, | 243 [in] int64_t number_of_bytes, |
| 245 [in] PP_Time expected_last_modified_time); | 244 [in] PP_Time expected_last_modified_time); |
| 246 }; | 245 }; |
| 247 | 246 |
| OLD | NEW |