OLD | NEW |
1 // Copyright (c) 2012 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 #ifndef NET_OCSP_NSS_OCSP_H_ | 5 #ifndef NET_CERT_NET_NSS_OCSP_H_ |
6 #define NET_OCSP_NSS_OCSP_H_ | 6 #define NET_CERT_NET_NSS_OCSP_H_ |
7 | 7 |
8 #include "net/base/net_export.h" | 8 #include "net/base/net_export.h" |
9 | 9 |
10 namespace net { | 10 namespace net { |
11 | 11 |
12 class URLRequestContext; | 12 class URLRequestContext; |
13 | 13 |
14 // Sets the MessageLoop for NSS's HTTP client functions (i.e. OCSP, CA | 14 // Sets the MessageLoop for NSS's HTTP client functions (i.e. OCSP, CA |
15 // certificate and CRL fetches) to the current message loop. This should be | 15 // certificate and CRL fetches) to the current message loop. This should be |
16 // called before EnsureNSSHttpIOInit() if you want to control the message loop. | 16 // called before EnsureNSSHttpIOInit() if you want to control the message loop. |
(...skipping 12 matching lines...) Expand all Loading... |
29 // Can be called after a call to |ShutdownNSSHttpIO()| to reset internal state | 29 // Can be called after a call to |ShutdownNSSHttpIO()| to reset internal state |
30 // and associate it with the current thread. | 30 // and associate it with the current thread. |
31 NET_EXPORT void ResetNSSHttpIOForTesting(); | 31 NET_EXPORT void ResetNSSHttpIOForTesting(); |
32 | 32 |
33 // Sets the URLRequestContext for HTTP requests issued by NSS. | 33 // Sets the URLRequestContext for HTTP requests issued by NSS. |
34 NET_EXPORT void SetURLRequestContextForNSSHttpIO( | 34 NET_EXPORT void SetURLRequestContextForNSSHttpIO( |
35 URLRequestContext* request_context); | 35 URLRequestContext* request_context); |
36 | 36 |
37 } // namespace net | 37 } // namespace net |
38 | 38 |
39 #endif // NET_OCSP_NSS_OCSP_H_ | 39 #endif // NET_CERT_NET_NSS_OCSP_H_ |
OLD | NEW |