Index: android_webview/browser/net/android_stream_reader_url_request_job.h |
diff --git a/android_webview/browser/net/android_stream_reader_url_request_job.h b/android_webview/browser/net/android_stream_reader_url_request_job.h |
index e21d7655b9aca8049a471b653d73d4b344160d57..645be13ceb4a906d6be6b5854601a0c3a63786b3 100644 |
--- a/android_webview/browser/net/android_stream_reader_url_request_job.h |
+++ b/android_webview/browser/net/android_stream_reader_url_request_job.h |
@@ -15,6 +15,7 @@ |
#include "base/memory/scoped_ptr.h" |
#include "base/memory/weak_ptr.h" |
#include "base/threading/thread_checker.h" |
+#include "net/base/net_errors.h" |
#include "net/http/http_byte_range.h" |
#include "net/url_request/url_request_job.h" |
@@ -96,7 +97,7 @@ class AndroidStreamReaderURLRequestJob : public net::URLRequestJob { |
// 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; |
void SetExtraRequestHeaders(const net::HttpRequestHeaders& headers) override; |
bool GetMimeType(std::string* mime_type) const override; |
bool GetCharset(std::string* charset) override; |
@@ -131,6 +132,7 @@ class AndroidStreamReaderURLRequestJob : public net::URLRequestJob { |
void OnReaderReadCompleted(int bytes_read); |
net::HttpByteRange byte_range_; |
+ net::Error range_parse_result_; |
scoped_ptr<net::HttpResponseInfo> response_info_; |
scoped_ptr<Delegate> delegate_; |
scoped_ptr<DelegateObtainer> delegate_obtainer_; |