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

Side by Side Diff: net/url_request/url_request_context_storage.cc

Issue 7827033: Introduce net::HttpServerPropertiesManager to manage server-specific properties. (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: '' Created 9 years, 3 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2011 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "net/url_request/url_request_context_storage.h" 5 #include "net/url_request/url_request_context_storage.h"
6 6
7 #include "base/logging.h" 7 #include "base/logging.h"
8 #include "net/base/cert_verifier.h" 8 #include "net/base/cert_verifier.h"
9 #include "net/base/cookie_store.h" 9 #include "net/base/cookie_store.h"
10 #include "net/base/dnsrr_resolver.h" 10 #include "net/base/dnsrr_resolver.h"
(...skipping 55 matching lines...) Expand 10 before | Expand all | Expand 10 after
66 HttpAuthHandlerFactory* http_auth_handler_factory) { 66 HttpAuthHandlerFactory* http_auth_handler_factory) {
67 context_->set_http_auth_handler_factory(http_auth_handler_factory); 67 context_->set_http_auth_handler_factory(http_auth_handler_factory);
68 http_auth_handler_factory_.reset(http_auth_handler_factory); 68 http_auth_handler_factory_.reset(http_auth_handler_factory);
69 } 69 }
70 70
71 void URLRequestContextStorage::set_proxy_service(ProxyService* proxy_service) { 71 void URLRequestContextStorage::set_proxy_service(ProxyService* proxy_service) {
72 context_->set_proxy_service(proxy_service); 72 context_->set_proxy_service(proxy_service);
73 proxy_service_.reset(proxy_service); 73 proxy_service_.reset(proxy_service);
74 } 74 }
75 75
76 void URLRequestContextStorage::set_spdy_config_service(
77 SpdyConfigService* spdy_config_service) {
78 context_->set_spdy_config_service(spdy_config_service);
79 spdy_config_service_ = spdy_config_service;
80 }
81
76 void URLRequestContextStorage::set_ssl_config_service( 82 void URLRequestContextStorage::set_ssl_config_service(
77 SSLConfigService* ssl_config_service) { 83 SSLConfigService* ssl_config_service) {
78 context_->set_ssl_config_service(ssl_config_service); 84 context_->set_ssl_config_service(ssl_config_service);
79 ssl_config_service_ = ssl_config_service; 85 ssl_config_service_ = ssl_config_service;
80 } 86 }
81 87
82 void URLRequestContextStorage::set_network_delegate( 88 void URLRequestContextStorage::set_network_delegate(
83 NetworkDelegate* network_delegate) { 89 NetworkDelegate* network_delegate) {
84 context_->set_network_delegate(network_delegate); 90 context_->set_network_delegate(network_delegate);
85 network_delegate_.reset(network_delegate); 91 network_delegate_.reset(network_delegate);
(...skipping 22 matching lines...) Expand all
108 ftp_transaction_factory_.reset(ftp_transaction_factory); 114 ftp_transaction_factory_.reset(ftp_transaction_factory);
109 } 115 }
110 116
111 void URLRequestContextStorage::set_job_factory( 117 void URLRequestContextStorage::set_job_factory(
112 URLRequestJobFactory* job_factory) { 118 URLRequestJobFactory* job_factory) {
113 context_->set_job_factory(job_factory); 119 context_->set_job_factory(job_factory);
114 job_factory_.reset(job_factory); 120 job_factory_.reset(job_factory);
115 } 121 }
116 122
117 } // namespace net 123 } // namespace net
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698