Index: content/browser/android/url_request_content_job.h |
diff --git a/content/browser/android/url_request_content_job.h b/content/browser/android/url_request_content_job.h |
index 5d3d9336acc44e2f6367bb6e653fa4cd652fb108..1b1d96c2c06457f5f15f4c6e902e974c35b5f5d7 100644 |
--- a/content/browser/android/url_request_content_job.h |
+++ b/content/browser/android/url_request_content_job.h |
@@ -12,6 +12,7 @@ |
#include "base/memory/ref_counted.h" |
#include "base/memory/weak_ptr.h" |
#include "content/common/content_export.h" |
+#include "net/base/net_errors.h" |
#include "net/http/http_byte_range.h" |
#include "net/url_request/url_request.h" |
#include "net/url_request/url_request_job.h" |
@@ -42,7 +43,7 @@ class CONTENT_EXPORT URLRequestContentJob : public net::URLRequestJob { |
// net::URLRequestJob: |
void Start() override; |
void Kill() override; |
- bool ReadRawData(net::IOBuffer* buf, int buf_size, int* bytes_read) override; |
+ int ReadRawData(net::IOBuffer* buf, int buf_size) override; |
bool IsRedirectResponse(GURL* location, int* http_status_code) override; |
bool GetMimeType(std::string* mime_type) const override; |
void SetExtraRequestHeaders(const net::HttpRequestHeaders& headers) override; |
@@ -89,6 +90,7 @@ class CONTENT_EXPORT URLRequestContentJob : public net::URLRequestJob { |
const scoped_refptr<base::TaskRunner> content_task_runner_; |
net::HttpByteRange byte_range_; |
+ net::Error range_parse_result_; |
int64 remaining_bytes_; |
bool io_pending_; |