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

Unified Diff: net/spdy/spdy_session.h

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_network_transaction_unittest.cc ('k') | net/spdy/spdy_session.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_session.h
diff --git a/net/spdy/spdy_session.h b/net/spdy/spdy_session.h
index ec98d3c873a6d400662f5805b1ec88e245648e18..c5eb613944a8096512d8305f7102069c4e6e6b91 100644
--- a/net/spdy/spdy_session.h
+++ b/net/spdy/spdy_session.h
@@ -292,7 +292,7 @@ class NET_EXPORT SpdySession : public BufferedSpdyFramerVisitorInterface,
// |session| is the HttpNetworkSession. |net_log| is the NetLog that we log
// network events to.
SpdySession(const SpdySessionKey& spdy_session_key,
- const base::WeakPtr<HttpServerProperties>& http_server_properties,
+ HttpServerProperties* http_server_properties,
TransportSecurityState* transport_security_state,
bool verify_domain_authentication,
bool enable_sending_initial_data,
@@ -1026,7 +1026,7 @@ class NET_EXPORT SpdySession : public BufferedSpdyFramerVisitorInterface,
// |pool_| owns us, therefore its lifetime must exceed ours.
SpdySessionPool* pool_;
- const base::WeakPtr<HttpServerProperties> http_server_properties_;
+ HttpServerProperties* http_server_properties_;
TransportSecurityState* transport_security_state_;
« no previous file with comments | « net/spdy/spdy_network_transaction_unittest.cc ('k') | net/spdy/spdy_session.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698