Refactor HttpBasicStream to store data in HttpBasicState
commitf7c2173e10439fe52d505e25794fb87307b6ea20
authorricea@chromium.org <ricea@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sun, 27 Oct 2013 09:38:58 +0000 (27 09:38 +0000)
committerricea@chromium.org <ricea@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Sun, 27 Oct 2013 09:38:58 +0000 (27 09:38 +0000)
treeaebc01ed01e144a6bb18552e4d3299b7c50fc831
parentc9bbcb43fed0e3937d30f256db673b37e1133e7c
Refactor HttpBasicStream to store data in HttpBasicState

In preparation for WebSocketBasicHandshakeStream, factor out common member
variables and functionality to a new HttpBasicState class.

See design doc at
https://docs.google.com/a/google.com/document/d/1AH2lRR2i2Wf4yODgckgdsvZeuGwpbvsvMGLnAMUXUbM/edit
and the WebSocketBasicHandshakeStream implementation CL at
https://codereview.chromium.org/25417005/

BUG=303568
TEST=net_unittests --gtest_filter=HttpBasicState*

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

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231255 0039d316-1c4b-4281-b951-d872f2087c98
net/http/http_basic_state.cc [new file with mode: 0644]
net/http/http_basic_state.h [new file with mode: 0644]
net/http/http_basic_state_unittest.cc [new file with mode: 0644]
net/http/http_basic_stream.cc
net/http/http_basic_stream.h
net/net.gyp