8 #ifndef PPAPI_C_PPB_URL_REQUEST_INFO_H_
9 #define PPAPI_C_PPB_URL_REQUEST_INFO_H_
11 #include "ppapi/c/pp_bool.h"
12 #include "ppapi/c/pp_instance.h"
13 #include "ppapi/c/pp_macros.h"
14 #include "ppapi/c/pp_resource.h"
15 #include "ppapi/c/pp_stdint.h"
16 #include "ppapi/c/pp_time.h"
17 #include "ppapi/c/pp_var.h"
19 #define PPB_URLREQUESTINFO_INTERFACE_1_0 "PPB_URLRequestInfo;1.0"
20 #define PPB_URLREQUESTINFO_INTERFACE PPB_URLREQUESTINFO_INTERFACE_1_0
257 int64_t start_offset,
258 int64_t number_of_bytes,
259 PP_Time expected_last_modified_time);
PP_Resource(* Create)(PP_Instance instance)
PP_COMPILE_ASSERT_SIZE_IN_BYTES(PP_URLRequestProperty, 4)
PP_Bool(* IsURLRequestInfo)(PP_Resource resource)
PP_Bool(* SetProperty)(PP_Resource request, PP_URLRequestProperty property, struct PP_Var value)
PP_Bool(* AppendDataToBody)(PP_Resource request, const void *data, uint32_t len)
PP_Bool(* AppendFileToBody)(PP_Resource request, PP_Resource file_ref, int64_t start_offset, int64_t number_of_bytes, PP_Time expected_last_modified_time)