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

Unified Diff: net/http/http_proxy_client_socket.h

Issue 517693002: Add embedder-specific headers to HTTP CONNECT tunnel request (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Reworked HaveAuth test Created 6 years, 3 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/http/http_network_transaction_unittest.cc ('k') | net/http/http_proxy_client_socket.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_proxy_client_socket.h
diff --git a/net/http/http_proxy_client_socket.h b/net/http/http_proxy_client_socket.h
index a2682c505b111792d9a4f07cc5f7657023e93765..6761621098383a72f37e216d6882281be95cd43a 100644
--- a/net/http/http_proxy_client_socket.h
+++ b/net/http/http_proxy_client_socket.h
@@ -31,6 +31,7 @@ class HttpAuthCache;
class HttpStream;
class HttpStreamParser;
class IOBuffer;
+class ProxyDelegate;
class HttpProxyClientSocket : public ProxyClientSocket {
public:
@@ -47,6 +48,7 @@ class HttpProxyClientSocket : public ProxyClientSocket {
bool tunnel,
bool using_spdy,
NextProto protocol_negotiated,
+ ProxyDelegate* proxy_delegate,
bool is_https_proxy);
// On destruction Disconnect() is called.
@@ -163,6 +165,11 @@ class HttpProxyClientSocket : public ProxyClientSocket {
bool redirect_has_load_timing_info_;
LoadTimingInfo redirect_load_timing_info_;
+ const HostPortPair proxy_server_;
+
+ // This delegate must outlive this proxy client socket.
+ ProxyDelegate* proxy_delegate_;
+
const BoundNetLog net_log_;
DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocket);
« no previous file with comments | « net/http/http_network_transaction_unittest.cc ('k') | net/http/http_proxy_client_socket.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698