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

Unified Diff: net/http/http_network_layer.cc

Issue 3020032: Implement server push protocol 2. (Closed)
Patch Set: nits. Created 10 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
« no previous file with comments | « net/http/http_network_layer.h ('k') | net/spdy/spdy_http_stream.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/http_network_layer.cc
diff --git a/net/http/http_network_layer.cc b/net/http/http_network_layer.cc
index 7f8c89344a7a62481da57fd311de2a09a1e599a2..482802f5e49f0dd9846500a6fc9459aa6d7741db 100644
--- a/net/http/http_network_layer.cc
+++ b/net/http/http_network_layer.cc
@@ -67,6 +67,29 @@ HttpNetworkLayer::HttpNetworkLayer(
DCHECK(ssl_config_service_.get());
}
+HttpNetworkLayer::HttpNetworkLayer(
+ ClientSocketFactory* socket_factory,
+ HostResolver* host_resolver,
+ ProxyService* proxy_service,
+ SSLConfigService* ssl_config_service,
+ SpdySessionPool* spdy_session_pool,
+ HttpAuthHandlerFactory* http_auth_handler_factory,
+ HttpNetworkDelegate* network_delegate,
+ NetLog* net_log)
+ : socket_factory_(socket_factory),
+ host_resolver_(host_resolver),
+ proxy_service_(proxy_service),
+ ssl_config_service_(ssl_config_service),
+ session_(NULL),
+ spdy_session_pool_(spdy_session_pool),
+ http_auth_handler_factory_(http_auth_handler_factory),
+ network_delegate_(network_delegate),
+ net_log_(net_log),
+ suspended_(false) {
+ DCHECK(proxy_service_);
+ DCHECK(ssl_config_service_.get());
+}
+
HttpNetworkLayer::HttpNetworkLayer(HttpNetworkSession* session)
: socket_factory_(ClientSocketFactory::GetDefaultFactory()),
ssl_config_service_(NULL),
« no previous file with comments | « net/http/http_network_layer.h ('k') | net/spdy/spdy_http_stream.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698