Index: net/url_request/url_request_simple_job.h |
diff --git a/net/url_request/url_request_simple_job.h b/net/url_request/url_request_simple_job.h |
index 06f718e71ee600fe587b05bcc3555b970ecdfa8c..6c9d5e8b929f4daf8297036c4624db0d0aa4b643 100644 |
--- a/net/url_request/url_request_simple_job.h |
+++ b/net/url_request/url_request_simple_job.h |
@@ -28,7 +28,7 @@ class NET_EXPORT URLRequestSimpleJob : public URLRangeRequestJob { |
void Start() override; |
void Kill() override; |
- int ReadRawData(IOBuffer* buf, int buf_size) override; |
+ bool ReadRawData(IOBuffer* buf, int buf_size, int* bytes_read) override; |
bool GetMimeType(std::string* mime_type) const override; |
bool GetCharset(std::string* charset) override; |
@@ -66,6 +66,7 @@ class NET_EXPORT URLRequestSimpleJob : public URLRangeRequestJob { |
private: |
void OnGetDataCompleted(int result); |
+ void OnReadCompleted(int bytes_read); |
HttpByteRange byte_range_; |
std::string mime_type_; |