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 6c9d5e8b929f4daf8297036c4624db0d0aa4b643..06f718e71ee600fe587b05bcc3555b970ecdfa8c 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; |
- bool ReadRawData(IOBuffer* buf, int buf_size, int* bytes_read) override; |
+ int ReadRawData(IOBuffer* buf, int buf_size) override; |
bool GetMimeType(std::string* mime_type) const override; |
bool GetCharset(std::string* charset) override; |
@@ -66,7 +66,6 @@ class NET_EXPORT URLRequestSimpleJob : public URLRangeRequestJob { |
private: |
void OnGetDataCompleted(int result); |
- void OnReadCompleted(int bytes_read); |
HttpByteRange byte_range_; |
std::string mime_type_; |