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_URLResponseInfo</code> API for examining URL | 7 * This file defines the <code>PPB_URLResponseInfo</code> API for examining URL |
8 * responses. | 8 * responses. |
9 */ | 9 */ |
10 | 10 |
11 label Chrome { | 11 label Chrome { |
12 M13 = 0.1, | |
13 M14 = 1.0 | 12 M14 = 1.0 |
14 }; | 13 }; |
15 | 14 |
16 /** | 15 /** |
17 * This enumeration contains properties set on a URL response. | 16 * This enumeration contains properties set on a URL response. |
18 */ | 17 */ |
19 [assert_size(4)] | 18 [assert_size(4)] |
20 enum PP_URLResponseProperty { | 19 enum PP_URLResponseProperty { |
21 /** | 20 /** |
22 * This corresponds to a string (PP_VARTYPE_STRING); an absolute URL formed by | 21 * This corresponds to a string (PP_VARTYPE_STRING); an absolute URL formed by |
(...skipping 99 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
122 * <code>URLResponseInfo</code>. | 121 * <code>URLResponseInfo</code>. |
123 * | 122 * |
124 * @return A <code>PP_Resource</code> corresponding to a <code>FileRef</code> | 123 * @return A <code>PP_Resource</code> corresponding to a <code>FileRef</code> |
125 * if successful, 0 if <code>PP_URLREQUESTPROPERTY_STREAMTOFILE</code> was | 124 * if successful, 0 if <code>PP_URLREQUESTPROPERTY_STREAMTOFILE</code> was |
126 * not requested or if the <code>URLLoader</code> has not been opened yet. | 125 * not requested or if the <code>URLLoader</code> has not been opened yet. |
127 */ | 126 */ |
128 PP_Resource GetBodyAsFileRef( | 127 PP_Resource GetBodyAsFileRef( |
129 [in] PP_Resource response); | 128 [in] PP_Resource response); |
130 }; | 129 }; |
131 | 130 |
OLD | NEW |