summaryrefslogtreecommitdiffstats
path: root/net/http/http_stream.h
diff options
context:
space:
mode:
authorvandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-08 21:28:14 +0000
committervandebo@chromium.org <vandebo@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-03-08 21:28:14 +0000
commit02c92c499441303f58312463b30deb53f02dba63 (patch)
tree26c3cae25835fe74e176c625c67333106ec780f6 /net/http/http_stream.h
parent4bf413576fa9c6e19a16119b007112f7a32c6ffc (diff)
downloadchromium_src-02c92c499441303f58312463b30deb53f02dba63.zip
chromium_src-02c92c499441303f58312463b30deb53f02dba63.tar.gz
chromium_src-02c92c499441303f58312463b30deb53f02dba63.tar.bz2
Use 0 for successful end of stream.
BUG=25032 TEST=none Review URL: http://codereview.chromium.org/669122 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@40938 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_stream.h')
-rw-r--r--net/http/http_stream.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/net/http/http_stream.h b/net/http/http_stream.h
index 978ebdb..87bd8e2 100644
--- a/net/http/http_stream.h
+++ b/net/http/http_stream.h
@@ -53,8 +53,8 @@ class HttpStream {
// Reads response body data, up to |buf_len| bytes. |buf_len| should be a
// reasonable size (<2MB). The number of bytes read is returned, or an
- // error is returned upon failure. ERR_END_OF_STREAM indicates that the
- // request has been fully satisfied and there is no more data to read.
+ // error is returned upon failure. 0 indicates that the request has been
+ // fully satisfied and there is no more data to read.
// ERR_CONNECTION_CLOSED is returned when the connection has been closed
// prematurely. ERR_IO_PENDING is returned if the operation could not be
// completed synchronously, in which case the result will be passed to the