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

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

Issue 4935001: Allow a non-200 (or non-407) response for a CONNECT request from an HTTPS pro... (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Remove stray reference to connect_response_http_stream.h Created 10 years 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
Property Changes:
Added: svn:eol-style
+ LF
OLDNEW
(Empty)
1 // Copyright (c) 2010 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.
4
5 #ifndef NET_HTTP_HTTP_PROXY_TUNNEL_CLIENT_SOCKET_H_
6 #define NET_HTTP_HTTP_PROXY_TUNNEL_CLIENT_SOCKET_H_
7 #pragma once
8
9 #include "net/socket/client_socket.h"
10
11 namespace net {
12
13 class HttpStream;
14 class HttpResponseInfo;
15
16 class HttpProxyTunnelClientSocket : public ClientSocket {
17 public:
18 HttpProxyTunnelClientSocket() {}
19 virtual ~HttpProxyTunnelClientSocket() {}
20
21 // Returns the HttpResponseInfo (including HTTP Headers) from
22 // the response to the CONNECT request.
23 virtual const HttpResponseInfo* GetConnectResponseInfo() const = 0;
24
25 // Transfers ownership of a newly created HttpStream to the caller
26 // which can be used to read the response body.
27 virtual HttpStream* GetConnectResponseStream() = 0;
vandebo (ex-Chrome) 2010/12/14 00:30:23 Maybe call this Create/MakeConnectResponseStream.
Ryan Hamilton 2010/12/15 20:14:17 Done.
28
29 private:
30 DISALLOW_COPY_AND_ASSIGN(HttpProxyTunnelClientSocket);
31 };
32
33 } // namespace net
34
35 #endif // NET_HTTP_HTTP_PROXY_TUNNEL_CLIENT_SOCKET_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698