summaryrefslogtreecommitdiffstats
path: root/net/http/http_response_headers.h
diff options
context:
space:
mode:
authorsimonjam@chromium.org <simonjam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-30 21:19:58 +0000
committersimonjam@chromium.org <simonjam@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-30 21:19:58 +0000
commite2bec3977f5b6c9efb518ff41fa9f1bd811706f2 (patch)
tree26e00a8a9980fa43dccdddd44fe251001c443bdd /net/http/http_response_headers.h
parent1739e57d298ae11f29588ea50c7a30fd4bf5f03c (diff)
downloadchromium_src-e2bec3977f5b6c9efb518ff41fa9f1bd811706f2.zip
chromium_src-e2bec3977f5b6c9efb518ff41fa9f1bd811706f2.tar.gz
chromium_src-e2bec3977f5b6c9efb518ff41fa9f1bd811706f2.tar.bz2
Implement Drain() on HttpPipelinedStream.
BUG=102385 TEST=net_unittests Review URL: http://codereview.chromium.org/8591037 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@112289 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_response_headers.h')
-rw-r--r--net/http/http_response_headers.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/http/http_response_headers.h b/net/http/http_response_headers.h
index c29964d..e331389 100644
--- a/net/http/http_response_headers.h
+++ b/net/http/http_response_headers.h
@@ -239,6 +239,9 @@ class NET_EXPORT HttpResponseHeaders
int64* last_byte_position,
int64* instance_length) const;
+ // Returns true if the response is chunk-encoded.
+ bool IsChunkEncoded() const;
+
// Returns the HTTP response code. This is 0 if the response code text seems
// to exist but could not be parsed. Otherwise, it defaults to 200 if the
// response code is not found in the raw headers.