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

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

Issue 2333923004: Extracting NetLog inner classes into their own classes. (Closed)
Patch Set: Some nit fixes and better, impl-agnostic naming of net_log_parameters_callback_typedef.h -> net/log… Created 4 years, 2 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
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 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 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 7
8 #include <string> 8 #include <string>
9 9
10 #include "base/macros.h" 10 #include "base/macros.h"
11 #include "net/socket/ssl_client_socket.h" 11 #include "net/socket/ssl_client_socket.h"
12 #include "net/socket/stream_socket.h" 12 #include "net/socket/stream_socket.h"
13 13
14 class GURL; 14 class GURL;
15 15
16 namespace net { 16 namespace net {
17 17
18 class HostPortPair; 18 class HostPortPair;
19 class HttpAuthController; 19 class HttpAuthController;
20 class HttpStream; 20 class HttpStream;
21 class HttpResponseInfo; 21 class HttpResponseInfo;
22 class HttpRequestHeaders; 22 class HttpRequestHeaders;
23 struct HttpRequestInfo; 23 struct HttpRequestInfo;
24 class HttpAuthController; 24 class HttpAuthController;
25 class NetLogWithSource;
25 26
26 class NET_EXPORT_PRIVATE ProxyClientSocket : public StreamSocket { 27 class NET_EXPORT_PRIVATE ProxyClientSocket : public StreamSocket {
27 public: 28 public:
28 ProxyClientSocket() {} 29 ProxyClientSocket() {}
29 ~ProxyClientSocket() override {} 30 ~ProxyClientSocket() override {}
30 31
31 // Returns the HttpResponseInfo (including HTTP Headers) from 32 // Returns the HttpResponseInfo (including HTTP Headers) from
32 // the response to the CONNECT request. 33 // the response to the CONNECT request.
33 virtual const HttpResponseInfo* GetConnectResponseInfo() const = 0; 34 virtual const HttpResponseInfo* GetConnectResponseInfo() const = 0;
34 35
(...skipping 53 matching lines...) Expand 10 before | Expand all | Expand 10 after
88 // fail. 89 // fail.
89 static bool SanitizeProxyRedirect(HttpResponseInfo* response); 90 static bool SanitizeProxyRedirect(HttpResponseInfo* response);
90 91
91 private: 92 private:
92 DISALLOW_COPY_AND_ASSIGN(ProxyClientSocket); 93 DISALLOW_COPY_AND_ASSIGN(ProxyClientSocket);
93 }; 94 };
94 95
95 } // namespace net 96 } // namespace net
96 97
97 #endif // NET_HTTP_PROXY_CLIENT_SOCKET_H_ 98 #endif // NET_HTTP_PROXY_CLIENT_SOCKET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698