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

Unified Diff: net/url_request/url_request_context.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_test_util_common.cc ('k') | net/url_request/url_request_context.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_context.h
diff --git a/net/url_request/url_request_context.h b/net/url_request/url_request_context.h
index 7aa3351d6d457fa755de8442e4fc75972bc9a9dc..1b00b0549a25aab89953e9ea7d16c14b18a9c2d0 100644
--- a/net/url_request/url_request_context.h
+++ b/net/url_request/url_request_context.h
@@ -137,10 +137,10 @@ class NET_EXPORT URLRequestContext
NetworkDelegate* network_delegate() const { return network_delegate_; }
void set_http_server_properties(
- const base::WeakPtr<HttpServerProperties>& http_server_properties) {
+ HttpServerProperties* http_server_properties) {
http_server_properties_ = http_server_properties;
}
- base::WeakPtr<HttpServerProperties> http_server_properties() const {
+ HttpServerProperties* http_server_properties() const {
return http_server_properties_;
}
@@ -255,7 +255,7 @@ class NET_EXPORT URLRequestContext
ProxyService* proxy_service_;
scoped_refptr<SSLConfigService> ssl_config_service_;
NetworkDelegate* network_delegate_;
- base::WeakPtr<HttpServerProperties> http_server_properties_;
+ HttpServerProperties* http_server_properties_;
HttpUserAgentSettings* http_user_agent_settings_;
CookieStore* cookie_store_;
TransportSecurityState* transport_security_state_;
« no previous file with comments | « net/spdy/spdy_test_util_common.cc ('k') | net/url_request/url_request_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698