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

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

Issue 7529043: Rename NET_API to NET_EXPORT, and rename NET_TEST to NET_EXPORT_PRIVATE. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: '' Created 9 years, 4 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 | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 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 #pragma once 7 #pragma once
8 8
9 #include "base/memory/ref_counted.h" 9 #include "base/memory/ref_counted.h"
10 #include "net/base/net_api.h" 10 #include "net/base/net_export.h"
11 11
12 namespace net { 12 namespace net {
13 13
14 class HostPortPair; 14 class HostPortPair;
15 class HttpNetworkSession; 15 class HttpNetworkSession;
16 class HttpProxyClientSocketPool; 16 class HttpProxyClientSocketPool;
17 class HttpStreamFactory; 17 class HttpStreamFactory;
18 class ProxyService; 18 class ProxyService;
19 class SOCKSClientSocketPool; 19 class SOCKSClientSocketPool;
20 class SSLClientSocketPool; 20 class SSLClientSocketPool;
21 class TransportClientSocketPool; 21 class TransportClientSocketPool;
22 22
23 class NET_TEST HttpNetworkSessionPeer { 23 class NET_EXPORT_PRIVATE HttpNetworkSessionPeer {
24 public: 24 public:
25 explicit HttpNetworkSessionPeer( 25 explicit HttpNetworkSessionPeer(
26 const scoped_refptr<HttpNetworkSession>& session); 26 const scoped_refptr<HttpNetworkSession>& session);
27 ~HttpNetworkSessionPeer(); 27 ~HttpNetworkSessionPeer();
28 28
29 void SetTransportSocketPool(TransportClientSocketPool* pool); 29 void SetTransportSocketPool(TransportClientSocketPool* pool);
30 30
31 void SetSocketPoolForSOCKSProxy( 31 void SetSocketPoolForSOCKSProxy(
32 const HostPortPair& socks_proxy, 32 const HostPortPair& socks_proxy,
33 SOCKSClientSocketPool* pool); 33 SOCKSClientSocketPool* pool);
(...skipping 14 matching lines...) Expand all
48 48
49 private: 49 private:
50 const scoped_refptr<HttpNetworkSession> session_; 50 const scoped_refptr<HttpNetworkSession> session_;
51 51
52 DISALLOW_COPY_AND_ASSIGN(HttpNetworkSessionPeer); 52 DISALLOW_COPY_AND_ASSIGN(HttpNetworkSessionPeer);
53 }; 53 };
54 54
55 } // namespace net 55 } // namespace net
56 56
57 #endif // NET_HTTP_HTTP_NETWORK_SESSION_PEER_H_ 57 #endif // NET_HTTP_HTTP_NETWORK_SESSION_PEER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698