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

Unified Diff: net/http/http_network_session.cc

Issue 1547273003: Set trusted SPDY proxy dynamically on per-profile basis (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Updated based on design doc discussion Created 4 years, 11 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.cc
diff --git a/net/http/http_network_session.cc b/net/http/http_network_session.cc
index 935453e52352314fe8f0c18d35af0504a56b6700..bdecebf9d427eeafa0da1764b04152fce17a3c66 100644
--- a/net/http/http_network_session.cc
+++ b/net/http/http_network_session.cc
@@ -15,6 +15,7 @@
#include "base/strings/string_number_conversions.h"
#include "base/strings/string_util.h"
#include "base/values.h"
+#include "net/base/proxy_delegate.h"
bengr 2016/01/26 19:39:55 Can this be a forward declaration?
tbansal1 2016/01/27 00:13:34 Done.
#include "net/http/http_auth_handler_factory.h"
#include "net/http/http_response_body_drainer.h"
#include "net/http/http_stream_factory_impl.h"
@@ -192,7 +193,7 @@ HttpNetworkSession::HttpNetworkSession(const Params& params)
params.spdy_stream_max_recv_window_size,
params.spdy_initial_max_concurrent_streams,
params.time_func,
- params.trusted_spdy_proxy),
+ params.proxy_delegate),
http_stream_factory_(new HttpStreamFactoryImpl(this, false)),
http_stream_factory_for_websocket_(new HttpStreamFactoryImpl(this, true)),
params_(params) {

Powered by Google App Engine
This is Rietveld 408576698