| 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 b93ff45d633c9330beaeb77f4772d3d8d5486245..0aa63bc9eb3e473659ea68f4abe4a2df70241b53 100644
|
| --- a/net/url_request/url_request_job.h
|
| +++ b/net/url_request/url_request_job.h
|
| @@ -96,9 +96,11 @@ 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.
|
| + int Read(IOBuffer* buf, int buf_size);
|
| + // Deprecated.
|
| bool Read(IOBuffer* buf, int buf_size, int* bytes_read);
|
|
|
| // Stops further caching of this request, if any. For more info, see
|
|
|