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

Unified Diff: net/http/http_network_session.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 tests Created 6 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 side-by-side diff with in-line comments
Download patch
Index: net/http/http_network_session.h
diff --git a/net/http/http_network_session.h b/net/http/http_network_session.h
index f62232a22a63982092d6560020a6be12585e5258..bf077ae8341d3011f87afdb5218e2a9fddd92af9 100644
--- a/net/http/http_network_session.h
+++ b/net/http/http_network_session.h
@@ -10,6 +10,7 @@
#include <vector>
#include "base/basictypes.h"
+#include "base/callback.h"
#include "base/memory/ref_counted.h"
#include "base/memory/weak_ptr.h"
#include "base/threading/non_thread_safe.h"
@@ -120,6 +121,8 @@ class NET_EXPORT HttpNetworkSession
QuicCryptoClientStreamFactory* quic_crypto_client_stream_factory;
QuicVersionVector quic_supported_versions;
QuicTagVector quic_connection_options;
+ base::Callback<void(const net::HostPortPair&, HttpRequestHeaders*)>
+ before_proxy_tunnel_request_callback;
mef 2014/09/02 17:08:36 Is there particular reason why it is a separate ca
};
enum SocketPoolType {
« no previous file with comments | « components/data_reduction_proxy/browser/data_reduction_proxy_protocol.cc ('k') | net/http/http_network_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698