OLD | NEW |
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 // 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_ |
(...skipping 57 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
68 return cert_verifier_; | 68 return cert_verifier_; |
69 } | 69 } |
70 | 70 |
71 void set_cert_verifier(CertVerifier* cert_verifier) { | 71 void set_cert_verifier(CertVerifier* cert_verifier) { |
72 cert_verifier_ = cert_verifier; | 72 cert_verifier_ = cert_verifier; |
73 } | 73 } |
74 | 74 |
75 OriginBoundCertService* origin_bound_cert_service() const { | 75 OriginBoundCertService* origin_bound_cert_service() const { |
76 return origin_bound_cert_service_; | 76 return origin_bound_cert_service_; |
77 } | 77 } |
| 78 |
78 void set_origin_bound_cert_service( | 79 void set_origin_bound_cert_service( |
79 OriginBoundCertService* origin_bound_cert_service) { | 80 OriginBoundCertService* origin_bound_cert_service) { |
80 origin_bound_cert_service_ = origin_bound_cert_service; | 81 origin_bound_cert_service_ = origin_bound_cert_service; |
81 } | 82 } |
82 | 83 |
83 DnsRRResolver* dnsrr_resolver() const { | 84 DnsRRResolver* dnsrr_resolver() const { |
84 return dnsrr_resolver_; | 85 return dnsrr_resolver_; |
85 } | 86 } |
86 | 87 |
87 void set_dnsrr_resolver(DnsRRResolver* dnsrr_resolver) { | 88 void set_dnsrr_resolver(DnsRRResolver* dnsrr_resolver) { |
(...skipping 134 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
222 // Important: When adding any new members below, consider whether they need to | 223 // Important: When adding any new members below, consider whether they need to |
223 // be added to CopyFrom. | 224 // be added to CopyFrom. |
224 // --------------------------------------------------------------------------- | 225 // --------------------------------------------------------------------------- |
225 | 226 |
226 DISALLOW_COPY_AND_ASSIGN(URLRequestContext); | 227 DISALLOW_COPY_AND_ASSIGN(URLRequestContext); |
227 }; | 228 }; |
228 | 229 |
229 } // namespace net | 230 } // namespace net |
230 | 231 |
231 #endif // NET_URL_REQUEST_URL_REQUEST_CONTEXT_H_ | 232 #endif // NET_URL_REQUEST_URL_REQUEST_CONTEXT_H_ |
OLD | NEW |