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

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: Added receive notification and 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
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..5c3d2a572b71e59a92775c29c51f60e37e5ccc86 100644
--- a/net/http/http_proxy_client_socket.h
+++ b/net/http/http_proxy_client_socket.h
@@ -28,6 +28,7 @@ class AddressList;
class ClientSocketHandle;
class GrowableIOBuffer;
class HttpAuthCache;
+class HttpProxyTunnelDelegate;
class HttpStream;
class HttpStreamParser;
class IOBuffer;
@@ -47,6 +48,7 @@ class HttpProxyClientSocket : public ProxyClientSocket {
bool tunnel,
bool using_spdy,
NextProto protocol_negotiated,
+ HttpProxyTunnelDelegate* http_proxy_tunnel_delegate,
bool is_https_proxy);
// On destruction Disconnect() is called.
@@ -163,6 +165,9 @@ class HttpProxyClientSocket : public ProxyClientSocket {
bool redirect_has_load_timing_info_;
LoadTimingInfo redirect_load_timing_info_;
+ const HostPortPair proxy_server_;
+ HttpProxyTunnelDelegate* http_proxy_tunnel_delegate_;
+
const BoundNetLog net_log_;
DISALLOW_COPY_AND_ASSIGN(HttpProxyClientSocket);

Powered by Google App Engine
This is Rietveld 408576698