Index: net/url_request/url_request_job.h |
diff --git a/net/url_request/url_request_job.h b/net/url_request/url_request_job.h |
index 159e36f117579f228f9c4416ab7ea1d9a91aae7f..336931ed483ba8104f60b42a78b288f0d9a02eec 100644 |
--- a/net/url_request/url_request_job.h |
+++ b/net/url_request/url_request_job.h |
@@ -95,10 +95,10 @@ class NET_EXPORT URLRequestJob : public base::PowerObserver { |
virtual void Kill(); |
// Called to read post-filtered data from this Job, returning the number of |
- // bytes read, 0 when there is no more data, or -1 if there was an error. |
- // This is just the backend for URLRequest::Read, see that function for |
+ // bytes read, 0 when there is no more data, or net error if there was an |
+ // error. This is just the backend for URLRequest::Read, see that function for |
// more info. |
- bool Read(IOBuffer* buf, int buf_size, int* bytes_read); |
+ int Read(IOBuffer* buf, int buf_size); |
// Stops further caching of this request, if any. For more info, see |
// URLRequest::StopCaching(). |