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

Unified Diff: net/url_request/url_request_context_storage.cc

Issue 2883143002: Reorder URLRequestContextStorage members. (Closed)
Patch Set: Reorder setters, too Created 3 years, 7 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/url_request/url_request_context_storage.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/url_request/url_request_context_storage.cc
diff --git a/net/url_request/url_request_context_storage.cc b/net/url_request/url_request_context_storage.cc
index 19ebbf62fe8fd89726e015c31a9b43262d0c50c7..7003bb9ee5315f86e179a5b8efb5891ff39d5de4 100644
--- a/net/url_request/url_request_context_storage.cc
+++ b/net/url_request/url_request_context_storage.cc
@@ -65,6 +65,17 @@ void URLRequestContextStorage::set_http_auth_handler_factory(
http_auth_handler_factory_ = std::move(http_auth_handler_factory);
}
+void URLRequestContextStorage::set_proxy_delegate(
+ std::unique_ptr<ProxyDelegate> proxy_delegate) {
+ proxy_delegate_ = std::move(proxy_delegate);
+}
+
+void URLRequestContextStorage::set_network_delegate(
+ std::unique_ptr<NetworkDelegate> network_delegate) {
+ context_->set_network_delegate(network_delegate.get());
+ network_delegate_ = std::move(network_delegate);
+}
+
void URLRequestContextStorage::set_proxy_service(
std::unique_ptr<ProxyService> proxy_service) {
context_->set_proxy_service(proxy_service.get());
@@ -77,17 +88,6 @@ void URLRequestContextStorage::set_ssl_config_service(
ssl_config_service_ = ssl_config_service;
}
-void URLRequestContextStorage::set_network_delegate(
- std::unique_ptr<NetworkDelegate> network_delegate) {
- context_->set_network_delegate(network_delegate.get());
- network_delegate_ = std::move(network_delegate);
-}
-
-void URLRequestContextStorage::set_proxy_delegate(
- std::unique_ptr<ProxyDelegate> proxy_delegate) {
- proxy_delegate_ = std::move(proxy_delegate);
-}
-
void URLRequestContextStorage::set_http_server_properties(
std::unique_ptr<HttpServerProperties> http_server_properties) {
context_->set_http_server_properties(http_server_properties.get());
« no previous file with comments | « net/url_request/url_request_context_storage.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698