[Android] Remove the webview_core static library.
[chromium-blink-merge.git] / net / http / http_network_session_peer.h
blob3d995cfae0595aef83a5e9edb1fdce1a467a7471
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.
5 #ifndef NET_HTTP_HTTP_NETWORK_SESSION_PEER_H_
6 #define NET_HTTP_HTTP_NETWORK_SESSION_PEER_H_
8 #include "base/memory/ref_counted.h"
9 #include "net/base/net_export.h"
11 namespace net {
13 class ClientSocketPoolManager;
14 class HttpNetworkSession;
15 class HttpStreamFactory;
16 class ProxyService;
18 class NET_EXPORT_PRIVATE HttpNetworkSessionPeer {
19 public:
20 explicit HttpNetworkSessionPeer(
21 const scoped_refptr<HttpNetworkSession>& session);
22 ~HttpNetworkSessionPeer();
24 void SetClientSocketPoolManager(
25 ClientSocketPoolManager* socket_pool_manager);
27 void SetProxyService(ProxyService* proxy_service);
29 void SetHttpStreamFactory(HttpStreamFactory* http_stream_factory);
31 private:
32 const scoped_refptr<HttpNetworkSession> session_;
34 DISALLOW_COPY_AND_ASSIGN(HttpNetworkSessionPeer);
37 } // namespace net
39 #endif // NET_HTTP_HTTP_NETWORK_SESSION_PEER_H_