5 #ifndef PPAPI_CPP_URL_LOADER_H_
6 #define PPAPI_CPP_URL_LOADER_H_
8 #include "ppapi/c/pp_stdint.h"
15 class CompletionCallback;
18 class URLResponseInfo;
93 int64_t* total_bytes_to_be_sent)
const;
112 int64_t* total_bytes_to_be_received)
const;
168 #endif // PPAPI_CPP_URL_LOADER_H_
bool GetDownloadProgress(int64_t *bytes_received, int64_t *total_bytes_to_be_received) const
URLResponseInfo provides an API for examining URL responses.
int32_t FinishStreamingToFile(const CompletionCallback &cc)
URLRequestInfo provides an API for creating and manipulating URL requests.
int32_t ReadResponseBody(void *buffer, int32_t bytes_to_read, const CompletionCallback &cc)
bool GetUploadProgress(int64_t *bytes_sent, int64_t *total_bytes_to_be_sent) const
int32_t Open(const URLRequestInfo &request_info, const CompletionCallback &cc)
A reference counted module resource.
URLResponseInfo GetResponseInfo() const
int32_t FollowRedirect(const CompletionCallback &cc)