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

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

Issue 992733002: Remove //net (except for Android test stuff) and sdch (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 months 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_network_session.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
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef NET_HTTP_HTTP_NETWORK_SESSION_PEER_H_
6 #define NET_HTTP_HTTP_NETWORK_SESSION_PEER_H_
7
8 #include "base/memory/ref_counted.h"
9 #include "base/memory/scoped_ptr.h"
10 #include "net/base/net_export.h"
11
12 namespace net {
13
14 class ClientSocketPoolManager;
15 class HttpNetworkSession;
16 class HttpStreamFactory;
17 class ProxyService;
18
19 class NET_EXPORT_PRIVATE HttpNetworkSessionPeer {
20 public:
21 explicit HttpNetworkSessionPeer(
22 const scoped_refptr<HttpNetworkSession>& session);
23 ~HttpNetworkSessionPeer();
24
25 void SetClientSocketPoolManager(
26 scoped_ptr<ClientSocketPoolManager> socket_pool_manager);
27
28 void SetProxyService(ProxyService* proxy_service);
29
30 void SetHttpStreamFactory(scoped_ptr<HttpStreamFactory> http_stream_factory);
31 void SetHttpStreamFactoryForWebSocket(
32 scoped_ptr<HttpStreamFactory> http_stream_factory_for_websocket);
33
34 private:
35 const scoped_refptr<HttpNetworkSession> session_;
36
37 DISALLOW_COPY_AND_ASSIGN(HttpNetworkSessionPeer);
38 };
39
40 } // namespace net
41
42 #endif // NET_HTTP_HTTP_NETWORK_SESSION_PEER_H_
OLDNEW
« no previous file with comments | « net/http/http_network_session.cc ('k') | net/http/http_network_session_peer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698