Modify HttpResponseBodyDrainer for HttpStreamBase
commit1ad450eb6514b1fa32868c9137000706281ce0f9
authorricea@chromium.org <ricea@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 1 Nov 2013 17:39:27 +0000 (1 17:39 +0000)
committerricea@chromium.org <ricea@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 1 Nov 2013 17:39:27 +0000 (1 17:39 +0000)
treeec58cc53203d7d3bae184959d4fcf87f143153c5
parent1b38a80db018b5f35a8d56df999499c2a994e9db
Modify HttpResponseBodyDrainer for HttpStreamBase

Currently HttpResponseBodyDrainer requires an HttpStream object. But it
works equally well with an HttpStreamBase object, and this permits it to
be used with the new WebSocket implementation.

No functional changes.

This CL is split off from https://codereview.chromium.org/25417005/

BUG=
TEST=net_unittests

Review URL: https://codereview.chromium.org/55263004

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@232426 0039d316-1c4b-4281-b951-d872f2087c98
net/http/http_response_body_drainer.cc
net/http/http_response_body_drainer.h