diff options
author | ricea@chromium.org <ricea@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-30 12:08:49 +0000 |
---|---|---|
committer | ricea@chromium.org <ricea@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2013-10-30 12:08:49 +0000 |
commit | a9cf2b958d433646fa76a60e6777939ee62fcab4 (patch) | |
tree | 21f7cc785e7db72f5e04e4db0363aabc6a54929e /net/http/http_network_session.h | |
parent | c4c6dfd201e0e0d7e72d90fc7a16928c3ff78ee2 (diff) | |
download | chromium_src-a9cf2b958d433646fa76a60e6777939ee62fcab4.zip chromium_src-a9cf2b958d433646fa76a60e6777939ee62fcab4.tar.gz chromium_src-a9cf2b958d433646fa76a60e6777939ee62fcab4.tar.bz2 |
Rename WebSocketStreamBase to WebSocketHandshakeStreamBase in order to better reflect its new function.
This name change previously was done in CL
https://codereview.chromium.org/25417005/ but it caused numerous merge
conflicts. So it has been split out into this CL.
Also add an Upgrade() method which produces a WebSocketStream from a
WebSocketHandshakeStreamBase. This is for use inside the implementation of
WebSocketStream::CreateAndConnectStream().
BUG=312515
Review URL: https://codereview.chromium.org/49043009
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@231818 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/http/http_network_session.h')
-rw-r--r-- | net/http/http_network_session.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/net/http/http_network_session.h b/net/http/http_network_session.h index 20e23a0..5d0a7b9 100644 --- a/net/http/http_network_session.h +++ b/net/http/http_network_session.h @@ -140,8 +140,8 @@ class NET_EXPORT HttpNetworkSession HttpStreamFactory* http_stream_factory() { return http_stream_factory_.get(); } - HttpStreamFactory* websocket_stream_factory() { - return websocket_stream_factory_.get(); + HttpStreamFactory* websocket_handshake_stream_factory() { + return websocket_handshake_stream_factory_.get(); } NetLog* net_log() { return net_log_; @@ -197,7 +197,7 @@ class NET_EXPORT HttpNetworkSession QuicStreamFactory quic_stream_factory_; SpdySessionPool spdy_session_pool_; scoped_ptr<HttpStreamFactory> http_stream_factory_; - scoped_ptr<HttpStreamFactory> websocket_stream_factory_; + scoped_ptr<HttpStreamFactory> websocket_handshake_stream_factory_; std::set<HttpResponseBodyDrainer*> response_drainers_; Params params_; |