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

Side by Side Diff: net/http/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_HTTP_PROXY_CLIENT_SOCKET_H_ 5 #ifndef NET_HTTP_PROXY_CLIENT_SOCKET_H_
6 #define NET_HTTP_PROXY_CLIENT_SOCKET_H_ 6 #define NET_HTTP_PROXY_CLIENT_SOCKET_H_
7 #pragma once 7 #pragma once
8 8
9 #include "net/socket/stream_socket.h" 9 #include "net/socket/stream_socket.h"
10 10
11 namespace net { 11 namespace net {
12 12
13 class HttpStream; 13 class HttpStream;
14 class HttpResponseInfo; 14 class HttpResponseInfo;
15 15
16 class NET_TEST ProxyClientSocket : public StreamSocket { 16 class NET_EXPORT_PRIVATE ProxyClientSocket : public StreamSocket {
17 public: 17 public:
18 ProxyClientSocket() {} 18 ProxyClientSocket() {}
19 virtual ~ProxyClientSocket() {} 19 virtual ~ProxyClientSocket() {}
20 20
21 // Returns the HttpResponseInfo (including HTTP Headers) from 21 // Returns the HttpResponseInfo (including HTTP Headers) from
22 // the response to the CONNECT request. 22 // the response to the CONNECT request.
23 virtual const HttpResponseInfo* GetConnectResponseInfo() const = 0; 23 virtual const HttpResponseInfo* GetConnectResponseInfo() const = 0;
24 24
25 // Transfers ownership of a newly created HttpStream to the caller 25 // Transfers ownership of a newly created HttpStream to the caller
26 // which can be used to read the response body. 26 // which can be used to read the response body.
27 virtual HttpStream* CreateConnectResponseStream() = 0; 27 virtual HttpStream* CreateConnectResponseStream() = 0;
28 28
29 private: 29 private:
30 DISALLOW_COPY_AND_ASSIGN(ProxyClientSocket); 30 DISALLOW_COPY_AND_ASSIGN(ProxyClientSocket);
31 }; 31 };
32 32
33 } // namespace net 33 } // namespace net
34 34
35 #endif // NET_HTTP_PROXY_CLIENT_SOCKET_H_ 35 #endif // NET_HTTP_PROXY_CLIENT_SOCKET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698