Prepare for late binding of SpdyHttpStreams.
commit7f28a8df1e44c9991a3c012b0b7874c068e0e6e7
authorwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 25 Feb 2011 22:26:03 +0000 (25 22:26 +0000)
committerwillchan@chromium.org <willchan@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Fri, 25 Feb 2011 22:26:03 +0000 (25 22:26 +0000)
treeae22c0590608c41b0b00d30a7bff3b14eeb16853
parentcff2ac8e0b3d6769180c5f5e75508852be3904d1
Prepare for late binding of SpdyHttpStreams.

* Move HostPortProxyPair to net/proxy/proxy_server.h.
* Have the Job assign the spdy_session_key to the Request when it's determined.
* Have the Job notify the HttpStreamFactoryImpl when a SpdySession becomes available.

Next steps:
* When HttpStreamFactoryImpl sees a SpdySession becomes available, service all applicable requests by examining their spdy_session_key.
* Introduce a new NetLog::Source for the late bound jobs.
* Have HttpStreamFactoryImpl create two Jobs instead of just 1 per Request if Alternate-Protocol is available.

BUG=54371,42669
TEST=existing

Review URL: http://codereview.chromium.org/6577035

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@76107 0039d316-1c4b-4281-b951-d872f2087c98
net/http/http_stream_factory_impl.cc
net/http/http_stream_factory_impl.h
net/http/http_stream_factory_impl_job.cc
net/http/http_stream_factory_impl_job.h
net/http/http_stream_factory_impl_request.cc [new file with mode: 0644]
net/http/http_stream_factory_impl_request.h [new file with mode: 0644]
net/net.gyp
net/proxy/proxy_server.h
net/spdy/spdy_session_pool.h