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

Side by Side Diff: net/spdy/spdy_proxy_client_socket.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_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_ 5 #ifndef NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_
6 #define NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_ 6 #define NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <list> 10 #include <list>
(...skipping 18 matching lines...) Expand all
29 29
30 namespace net { 30 namespace net {
31 31
32 class AddressList; 32 class AddressList;
33 class ClientSocketHandle; 33 class ClientSocketHandle;
34 class HttpStream; 34 class HttpStream;
35 class IOBuffer; 35 class IOBuffer;
36 class SpdySession; 36 class SpdySession;
37 class SpdyStream; 37 class SpdyStream;
38 38
39 class NET_TEST SpdyProxyClientSocket : public ProxyClientSocket, 39 class NET_EXPORT_PRIVATE SpdyProxyClientSocket : public ProxyClientSocket,
40 public SpdyStream::Delegate { 40 public SpdyStream::Delegate {
41 public: 41 public:
42 // Create a socket on top of the |spdy_stream| by sending a SYN_STREAM 42 // Create a socket on top of the |spdy_stream| by sending a SYN_STREAM
43 // CONNECT frame for |endpoint|. After the SYN_REPLY is received, 43 // CONNECT frame for |endpoint|. After the SYN_REPLY is received,
44 // any data read/written to the socket will be transferred in data 44 // any data read/written to the socket will be transferred in data
45 // frames. 45 // frames.
46 SpdyProxyClientSocket(SpdyStream* spdy_stream, 46 SpdyProxyClientSocket(SpdyStream* spdy_stream,
47 const std::string& user_agent, 47 const std::string& user_agent,
48 const HostPortPair& endpoint, 48 const HostPortPair& endpoint,
49 const GURL& url, 49 const GURL& url,
50 const HostPortPair& proxy_server, 50 const HostPortPair& proxy_server,
(...skipping 114 matching lines...) Expand 10 before | Expand all | Expand 10 after
165 scoped_ptr<SpdyHttpStream> response_stream_; 165 scoped_ptr<SpdyHttpStream> response_stream_;
166 166
167 const BoundNetLog net_log_; 167 const BoundNetLog net_log_;
168 168
169 DISALLOW_COPY_AND_ASSIGN(SpdyProxyClientSocket); 169 DISALLOW_COPY_AND_ASSIGN(SpdyProxyClientSocket);
170 }; 170 };
171 171
172 } // namespace net 172 } // namespace net
173 173
174 #endif // NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_ 174 #endif // NET_SPDY_SPDY_PROXY_CLIENT_SOCKET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698