Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(332)

Side by Side Diff: net/http/http_network_session_peer.h

Issue 23856018: Changes to HttpNetworkTransaction for WebSocket Handshake (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Rename SetWebSocketHandshakeCreateHelper Created 7 years, 1 month ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
« no previous file with comments | « net/http/http_cache_unittest.cc ('k') | net/http/http_network_session_peer.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef NET_HTTP_HTTP_NETWORK_SESSION_PEER_H_ 5 #ifndef NET_HTTP_HTTP_NETWORK_SESSION_PEER_H_
6 #define NET_HTTP_HTTP_NETWORK_SESSION_PEER_H_ 6 #define NET_HTTP_HTTP_NETWORK_SESSION_PEER_H_
7 7
8 #include "base/memory/ref_counted.h" 8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h"
9 #include "net/base/net_export.h" 10 #include "net/base/net_export.h"
10 11
11 namespace net { 12 namespace net {
12 13
13 class ClientSocketPoolManager; 14 class ClientSocketPoolManager;
14 class HttpNetworkSession; 15 class HttpNetworkSession;
15 class HttpStreamFactory; 16 class HttpStreamFactory;
16 class ProxyService; 17 class ProxyService;
17 18
18 class NET_EXPORT_PRIVATE HttpNetworkSessionPeer { 19 class NET_EXPORT_PRIVATE HttpNetworkSessionPeer {
19 public: 20 public:
20 explicit HttpNetworkSessionPeer( 21 explicit HttpNetworkSessionPeer(
21 const scoped_refptr<HttpNetworkSession>& session); 22 const scoped_refptr<HttpNetworkSession>& session);
22 ~HttpNetworkSessionPeer(); 23 ~HttpNetworkSessionPeer();
23 24
24 void SetClientSocketPoolManager( 25 void SetClientSocketPoolManager(
25 ClientSocketPoolManager* socket_pool_manager); 26 scoped_ptr<ClientSocketPoolManager> socket_pool_manager);
26 27
27 void SetProxyService(ProxyService* proxy_service); 28 void SetProxyService(ProxyService* proxy_service);
28 29
29 void SetHttpStreamFactory(HttpStreamFactory* http_stream_factory); 30 void SetHttpStreamFactory(scoped_ptr<HttpStreamFactory> http_stream_factory);
30 void SetWebSocketStreamFactory( 31 void SetWebSocketHandshakeStreamFactory(
31 HttpStreamFactory* websocket_handshake_stream_factory); 32 scoped_ptr<HttpStreamFactory> websocket_handshake_stream_factory);
32 33
33 private: 34 private:
34 const scoped_refptr<HttpNetworkSession> session_; 35 const scoped_refptr<HttpNetworkSession> session_;
35 36
36 DISALLOW_COPY_AND_ASSIGN(HttpNetworkSessionPeer); 37 DISALLOW_COPY_AND_ASSIGN(HttpNetworkSessionPeer);
37 }; 38 };
38 39
39 } // namespace net 40 } // namespace net
40 41
41 #endif // NET_HTTP_HTTP_NETWORK_SESSION_PEER_H_ 42 #endif // NET_HTTP_HTTP_NETWORK_SESSION_PEER_H_
OLDNEW
« no previous file with comments | « net/http/http_cache_unittest.cc ('k') | net/http/http_network_session_peer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698