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

Side by Side Diff: net/url_request/url_request_context.h

Issue 9617039: Change Origin bound certs -> Domain bound certs. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: rebase Created 8 years, 9 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
« no previous file with comments | « net/spdy/spdy_stream.cc ('k') | net/url_request/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) 2011 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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 // This class represents contextual information (cookies, cache, etc.) 5 // This class represents contextual information (cookies, cache, etc.)
6 // that's useful when processing resource requests. 6 // that's useful when processing resource requests.
7 // The class is reference-counted so that it can be cleaned up after any 7 // The class is reference-counted so that it can be cleaned up after any
8 // requests that are using it have been completed. 8 // requests that are using it have been completed.
9 9
10 #ifndef NET_URL_REQUEST_URL_REQUEST_CONTEXT_H_ 10 #ifndef NET_URL_REQUEST_URL_REQUEST_CONTEXT_H_
11 #define NET_URL_REQUEST_URL_REQUEST_CONTEXT_H_ 11 #define NET_URL_REQUEST_URL_REQUEST_CONTEXT_H_
(...skipping 12 matching lines...) Expand all
24 24
25 namespace net { 25 namespace net {
26 class CertVerifier; 26 class CertVerifier;
27 class CookieStore; 27 class CookieStore;
28 class FraudulentCertificateReporter; 28 class FraudulentCertificateReporter;
29 class FtpTransactionFactory; 29 class FtpTransactionFactory;
30 class HostResolver; 30 class HostResolver;
31 class HttpAuthHandlerFactory; 31 class HttpAuthHandlerFactory;
32 class HttpTransactionFactory; 32 class HttpTransactionFactory;
33 class NetworkDelegate; 33 class NetworkDelegate;
34 class OriginBoundCertService; 34 class ServerBoundCertService;
35 class ProxyService; 35 class ProxyService;
36 class URLRequest; 36 class URLRequest;
37 class URLRequestJobFactory; 37 class URLRequestJobFactory;
38 38
39 // Subclass to provide application-specific context for URLRequest 39 // Subclass to provide application-specific context for URLRequest
40 // instances. Note that URLRequestContext typically does not provide storage for 40 // instances. Note that URLRequestContext typically does not provide storage for
41 // these member variables, since they may be shared. For the ones that aren't 41 // these member variables, since they may be shared. For the ones that aren't
42 // shared, URLRequestContextStorage can be helpful in defining their storage. 42 // shared, URLRequestContextStorage can be helpful in defining their storage.
43 class NET_EXPORT URLRequestContext 43 class NET_EXPORT URLRequestContext
44 : public base::RefCountedThreadSafe<URLRequestContext>, 44 : public base::RefCountedThreadSafe<URLRequestContext>,
(...skipping 25 matching lines...) Expand all
70 } 70 }
71 71
72 CertVerifier* cert_verifier() const { 72 CertVerifier* cert_verifier() const {
73 return cert_verifier_; 73 return cert_verifier_;
74 } 74 }
75 75
76 void set_cert_verifier(CertVerifier* cert_verifier) { 76 void set_cert_verifier(CertVerifier* cert_verifier) {
77 cert_verifier_ = cert_verifier; 77 cert_verifier_ = cert_verifier;
78 } 78 }
79 79
80 OriginBoundCertService* origin_bound_cert_service() const { 80 ServerBoundCertService* server_bound_cert_service() const {
81 return origin_bound_cert_service_; 81 return server_bound_cert_service_;
82 } 82 }
83 83
84 void set_origin_bound_cert_service( 84 void set_server_bound_cert_service(
85 OriginBoundCertService* origin_bound_cert_service) { 85 ServerBoundCertService* server_bound_cert_service) {
86 origin_bound_cert_service_ = origin_bound_cert_service; 86 server_bound_cert_service_ = server_bound_cert_service;
87 } 87 }
88 88
89 FraudulentCertificateReporter* fraudulent_certificate_reporter() const { 89 FraudulentCertificateReporter* fraudulent_certificate_reporter() const {
90 return fraudulent_certificate_reporter_; 90 return fraudulent_certificate_reporter_;
91 } 91 }
92 void set_fraudulent_certificate_reporter( 92 void set_fraudulent_certificate_reporter(
93 FraudulentCertificateReporter* fraudulent_certificate_reporter) { 93 FraudulentCertificateReporter* fraudulent_certificate_reporter) {
94 fraudulent_certificate_reporter_ = fraudulent_certificate_reporter; 94 fraudulent_certificate_reporter_ = fraudulent_certificate_reporter;
95 } 95 }
96 96
(...skipping 103 matching lines...) Expand 10 before | Expand all | Expand 10 after
200 // --------------------------------------------------------------------------- 200 // ---------------------------------------------------------------------------
201 // Important: When adding any new members below, consider whether they need to 201 // Important: When adding any new members below, consider whether they need to
202 // be added to CopyFrom. 202 // be added to CopyFrom.
203 // --------------------------------------------------------------------------- 203 // ---------------------------------------------------------------------------
204 204
205 // Ownership for these members are not defined here. Clients should either 205 // Ownership for these members are not defined here. Clients should either
206 // provide storage elsewhere or have a subclass take ownership. 206 // provide storage elsewhere or have a subclass take ownership.
207 NetLog* net_log_; 207 NetLog* net_log_;
208 HostResolver* host_resolver_; 208 HostResolver* host_resolver_;
209 CertVerifier* cert_verifier_; 209 CertVerifier* cert_verifier_;
210 OriginBoundCertService* origin_bound_cert_service_; 210 ServerBoundCertService* server_bound_cert_service_;
211 FraudulentCertificateReporter* fraudulent_certificate_reporter_; 211 FraudulentCertificateReporter* fraudulent_certificate_reporter_;
212 HttpAuthHandlerFactory* http_auth_handler_factory_; 212 HttpAuthHandlerFactory* http_auth_handler_factory_;
213 ProxyService* proxy_service_; 213 ProxyService* proxy_service_;
214 scoped_refptr<SSLConfigService> ssl_config_service_; 214 scoped_refptr<SSLConfigService> ssl_config_service_;
215 NetworkDelegate* network_delegate_; 215 NetworkDelegate* network_delegate_;
216 HttpServerProperties* http_server_properties_; 216 HttpServerProperties* http_server_properties_;
217 scoped_refptr<CookieStore> cookie_store_; 217 scoped_refptr<CookieStore> cookie_store_;
218 TransportSecurityState* transport_security_state_; 218 TransportSecurityState* transport_security_state_;
219 scoped_ptr<FtpAuthCache> ftp_auth_cache_; 219 scoped_ptr<FtpAuthCache> ftp_auth_cache_;
220 std::string accept_language_; 220 std::string accept_language_;
(...skipping 10 matching lines...) Expand all
231 // Important: When adding any new members below, consider whether they need to 231 // Important: When adding any new members below, consider whether they need to
232 // be added to CopyFrom. 232 // be added to CopyFrom.
233 // --------------------------------------------------------------------------- 233 // ---------------------------------------------------------------------------
234 234
235 DISALLOW_COPY_AND_ASSIGN(URLRequestContext); 235 DISALLOW_COPY_AND_ASSIGN(URLRequestContext);
236 }; 236 };
237 237
238 } // namespace net 238 } // namespace net
239 239
240 #endif // NET_URL_REQUEST_URL_REQUEST_CONTEXT_H_ 240 #endif // NET_URL_REQUEST_URL_REQUEST_CONTEXT_H_
OLDNEW
« no previous file with comments | « net/spdy/spdy_stream.cc ('k') | net/url_request/url_request_context.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698