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

Unified Diff: net/spdy/spdy_session_pool.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_session.cc ('k') | net/spdy/spdy_session_pool.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/spdy/spdy_session_pool.h
diff --git a/net/spdy/spdy_session_pool.h b/net/spdy/spdy_session_pool.h
index 13664dc527fbab9addef65ed80b97aa6e94a217b..bdcb03b0ce637642a3667d9534648bf7b212d4a5 100644
--- a/net/spdy/spdy_session_pool.h
+++ b/net/spdy/spdy_session_pool.h
@@ -49,18 +49,17 @@ class NET_EXPORT SpdySessionPool
// |default_protocol| may be kProtoUnknown (e.g., if SPDY is
// disabled), in which case it's set to a default value. Otherwise,
// it must be a SPDY protocol.
- SpdySessionPool(
- HostResolver* host_resolver,
- SSLConfigService* ssl_config_service,
- const base::WeakPtr<HttpServerProperties>& http_server_properties,
- TransportSecurityState* transport_security_state,
- bool enable_ping_based_connection_checking,
- bool enable_priority_dependencies,
- NextProto default_protocol,
- size_t session_max_recv_window_size,
- size_t stream_max_recv_window_size,
- SpdySessionPool::TimeFunc time_func,
- ProxyDelegate* proxy_delegate);
+ SpdySessionPool(HostResolver* host_resolver,
+ SSLConfigService* ssl_config_service,
+ HttpServerProperties* http_server_properties,
+ TransportSecurityState* transport_security_state,
+ bool enable_ping_based_connection_checking,
+ bool enable_priority_dependencies,
+ NextProto default_protocol,
+ size_t session_max_recv_window_size,
+ size_t stream_max_recv_window_size,
+ SpdySessionPool::TimeFunc time_func,
+ ProxyDelegate* proxy_delegate);
~SpdySessionPool() override;
// In the functions below, a session is "available" if this pool has
@@ -133,7 +132,7 @@ class NET_EXPORT SpdySessionPool
// Creates a Value summary of the state of the spdy session pool.
std::unique_ptr<base::Value> SpdySessionPoolInfoToValue() const;
- base::WeakPtr<HttpServerProperties> http_server_properties() {
+ HttpServerProperties* http_server_properties() {
return http_server_properties_;
}
@@ -197,7 +196,7 @@ class NET_EXPORT SpdySessionPool
const std::string& description,
bool idle_only);
- const base::WeakPtr<HttpServerProperties> http_server_properties_;
+ HttpServerProperties* http_server_properties_;
TransportSecurityState* transport_security_state_;
« no previous file with comments | « net/spdy/spdy_session.cc ('k') | net/spdy/spdy_session_pool.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698