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

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

Issue 5386001: Cache certificate verification results in memory. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src/
Patch Set: Upload before checkin Created 10 years 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
« no previous file with comments | « chrome/browser/io_thread.cc ('k') | chrome/browser/net/chrome_url_request_context.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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_cert_verifier(net::CertVerifier* cert_verifier) {
131 cert_verifier_ = cert_verifier;
132 }
130 void set_dnsrr_resolver(net::DnsRRResolver* dnsrr_resolver) { 133 void set_dnsrr_resolver(net::DnsRRResolver* dnsrr_resolver) {
131 dnsrr_resolver_ = dnsrr_resolver; 134 dnsrr_resolver_ = dnsrr_resolver;
132 } 135 }
133 void set_dns_cert_checker(net::DnsCertProvenanceChecker* ctx) { 136 void set_dns_cert_checker(net::DnsCertProvenanceChecker* ctx) {
134 dns_cert_checker_.reset(ctx); 137 dns_cert_checker_.reset(ctx);
135 } 138 }
136 void set_http_transaction_factory(net::HttpTransactionFactory* factory) { 139 void set_http_transaction_factory(net::HttpTransactionFactory* factory) {
137 http_transaction_factory_ = factory; 140 http_transaction_factory_ = factory;
138 } 141 }
139 void set_ftp_transaction_factory(net::FtpTransactionFactory* factory) { 142 void set_ftp_transaction_factory(net::FtpTransactionFactory* factory) {
(...skipping 241 matching lines...) Expand 10 before | Expand all | Expand 10 after
381 384
382 FilePath profile_dir_path_; 385 FilePath profile_dir_path_;
383 386
384 private: 387 private:
385 IOThread* const io_thread_; 388 IOThread* const io_thread_;
386 389
387 DISALLOW_COPY_AND_ASSIGN(ChromeURLRequestContextFactory); 390 DISALLOW_COPY_AND_ASSIGN(ChromeURLRequestContextFactory);
388 }; 391 };
389 392
390 #endif // CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_H_ 393 #endif // CHROME_BROWSER_NET_CHROME_URL_REQUEST_CONTEXT_H_
OLDNEW
« no previous file with comments | « chrome/browser/io_thread.cc ('k') | chrome/browser/net/chrome_url_request_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698