OLD | NEW |
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. | 1 /* Copyright (c) 2010 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_REQUEST_INFO_H_ | 5 #ifndef PPAPI_C_PPB_URL_REQUEST_INFO_H_ |
6 #define PPAPI_C_PPB_URL_REQUEST_INFO_H_ | 6 #define PPAPI_C_PPB_URL_REQUEST_INFO_H_ |
7 | 7 |
8 #include "ppapi/c/pp_bool.h" | 8 #include "ppapi/c/pp_bool.h" |
9 #include "ppapi/c/pp_macros.h" | 9 #include "ppapi/c/pp_macros.h" |
10 #include "ppapi/c/pp_module.h" | 10 #include "ppapi/c/pp_module.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 #include "ppapi/c/pp_time.h" | 13 #include "ppapi/c/pp_time.h" |
14 | 14 |
(...skipping 62 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 // A Content-Length request header will be automatically generated. | 77 // A Content-Length request header will be automatically generated. |
78 // | 78 // |
79 // Returns PP_FALSE if any of the parameters are invalid, PP_TRUE on success. | 79 // Returns PP_FALSE if any of the parameters are invalid, PP_TRUE on success. |
80 PP_Bool (*AppendFileToBody)(PP_Resource request, | 80 PP_Bool (*AppendFileToBody)(PP_Resource request, |
81 PP_Resource file_ref, | 81 PP_Resource file_ref, |
82 int64_t start_offset, | 82 int64_t start_offset, |
83 int64_t number_of_bytes, | 83 int64_t number_of_bytes, |
84 PP_Time expected_last_modified_time); | 84 PP_Time expected_last_modified_time); |
85 }; | 85 }; |
86 | 86 |
87 #endif // PPAPI_C_PPB_URL_REQUEST_INFO_H_ | 87 #endif /* PPAPI_C_PPB_URL_REQUEST_INFO_H_ */ |
| 88 |
OLD | NEW |