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

Unified Diff: net/spdy/spdy_test_util_common.cc

Issue 2041863002: Remove HttpServerProperies::GetWeakPtr(). (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Rebase. Created 4 years, 6 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/spdy/spdy_test_util_common.h ('k') | net/url_request/url_request_context.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_test_util_common.cc
diff --git a/net/spdy/spdy_test_util_common.cc b/net/spdy/spdy_test_util_common.cc
index 05540982bf9cd93a5958ec9fc1f73586b8a9a2f7..4a22b8ff59978b70ff3fd84a7edcff8196e8add4 100644
--- a/net/spdy/spdy_test_util_common.cc
+++ b/net/spdy/spdy_test_util_common.cc
@@ -340,6 +340,7 @@ SpdySessionDependencies::SpdySessionDependencies(NextProto protocol)
socket_factory(new MockClientSocketFactory),
http_auth_handler_factory(
HttpAuthHandlerFactory::CreateDefault(host_resolver.get())),
+ http_server_properties(new HttpServerPropertiesImpl),
enable_ip_pooling(true),
enable_ping(false),
enable_user_alternate_protocol_ports(false),
@@ -379,6 +380,7 @@ SpdySessionDependencies::SpdySessionDependencies(
socket_factory(new MockClientSocketFactory),
http_auth_handler_factory(
HttpAuthHandlerFactory::CreateDefault(host_resolver.get())),
+ http_server_properties(new HttpServerPropertiesImpl),
enable_ip_pooling(true),
enable_ping(false),
enable_user_alternate_protocol_ports(false),
@@ -428,8 +430,7 @@ HttpNetworkSession::Params SpdySessionDependencies::CreateSessionParams(
params.ssl_config_service = session_deps->ssl_config_service.get();
params.http_auth_handler_factory =
session_deps->http_auth_handler_factory.get();
- params.http_server_properties =
- session_deps->http_server_properties.GetWeakPtr();
+ params.http_server_properties = session_deps->http_server_properties.get();
params.enable_spdy_ping_based_connection_checking = session_deps->enable_ping;
params.enable_user_alternate_protocol_ports =
session_deps->enable_user_alternate_protocol_ports;
« no previous file with comments | « net/spdy/spdy_test_util_common.h ('k') | net/url_request/url_request_context.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698