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

Side by Side Diff: chrome/browser/net/chrome_url_request_context.h

Issue 3533013: net: plumb DnsRRResolver from IOThread to HttpNetworkSession. (Closed)
Patch Set: Created 10 years, 2 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
OLDNEW
1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2010 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 #ifndef CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_H_ 5 #ifndef CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_H_
6 #define CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_H_ 6 #define CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_H_
7 #pragma once 7 #pragma once
8 8
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 109 matching lines...) Expand 10 before | Expand all | Expand 10 after
120 void set_transport_security_state( 120 void set_transport_security_state(
121 net::TransportSecurityState* state) { 121 net::TransportSecurityState* state) {
122 transport_security_state_ = state; 122 transport_security_state_ = state;
123 } 123 }
124 void set_ssl_config_service(net::SSLConfigService* service) { 124 void set_ssl_config_service(net::SSLConfigService* service) {
125 ssl_config_service_ = service; 125 ssl_config_service_ = service;
126 } 126 }
127 void set_host_resolver(net::HostResolver* resolver) { 127 void set_host_resolver(net::HostResolver* resolver) {
128 host_resolver_ = resolver; 128 host_resolver_ = resolver;
129 } 129 }
130 void set_dnsrr_resolver(net::DnsRRResolver* dnsrr_resolver) {
131 dnsrr_resolver_ = dnsrr_resolver;
132 }
130 void set_http_transaction_factory(net::HttpTransactionFactory* factory) { 133 void set_http_transaction_factory(net::HttpTransactionFactory* factory) {
131 http_transaction_factory_ = factory; 134 http_transaction_factory_ = factory;
132 } 135 }
133 void set_ftp_transaction_factory(net::FtpTransactionFactory* factory) { 136 void set_ftp_transaction_factory(net::FtpTransactionFactory* factory) {
134 ftp_transaction_factory_ = factory; 137 ftp_transaction_factory_ = factory;
135 } 138 }
136 void set_http_auth_handler_factory(net::HttpAuthHandlerFactory* factory) { 139 void set_http_auth_handler_factory(net::HttpAuthHandlerFactory* factory) {
137 http_auth_handler_factory_ = factory; 140 http_auth_handler_factory_ = factory;
138 } 141 }
139 void set_cookie_store(net::CookieStore* cookie_store) { 142 void set_cookie_store(net::CookieStore* cookie_store) {
(...skipping 233 matching lines...) Expand 10 before | Expand all | Expand 10 after
373 376
374 DISALLOW_COPY_AND_ASSIGN(ChromeURLRequestContextFactory); 377 DISALLOW_COPY_AND_ASSIGN(ChromeURLRequestContextFactory);
375 }; 378 };
376 379
377 // Creates a proxy configuration from proxy-related preferences fetched 380 // Creates a proxy configuration from proxy-related preferences fetched
378 // from |pref_service|. The relevant preferences in |pref_service| are 381 // from |pref_service|. The relevant preferences in |pref_service| are
379 // initialized from the process' command line or by applicable proxy policies. 382 // initialized from the process' command line or by applicable proxy policies.
380 net::ProxyConfig* CreateProxyConfig(const PrefService* pref_service); 383 net::ProxyConfig* CreateProxyConfig(const PrefService* pref_service);
381 384
382 #endif // CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_H_ 385 #endif // CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698