Chromium Code Reviews| Index: net/ocsp/nss_ocsp.h |
| diff --git a/net/ocsp/nss_ocsp.h b/net/ocsp/nss_ocsp.h |
| index b8dfb527f9db35dd851f9832e74ab962ad29ab44..0738a1f93d80edfb7879815fb34b28ca582aa8f8 100644 |
| --- a/net/ocsp/nss_ocsp.h |
| +++ b/net/ocsp/nss_ocsp.h |
| @@ -26,6 +26,12 @@ NET_EXPORT void EnsureNSSHttpIOInit(); |
| // related HTTP fetches. |
| NET_EXPORT void ShutdownNSSHttpIO(); |
| +// Can be called after a call to |ShutdownNSSHttpIO()| to reset internal state |
| +// and associate it with the current IO thread, on which this function must be |
|
Ryan Sleevi
2012/11/08 14:20:11
s/current IO thread/current thread/ ("IO thread" i
blundell
2012/11/08 15:59:08
Done.
|
| +// called. Should be used only in tests, wherein multiple IO threads might be |
| +// sequentially created and destroyed throughout the lifetime of the app. |
|
Ryan Sleevi
2012/11/08 14:20:11
Delete the sentence "Should be used only..."
blundell
2012/11/08 15:59:08
Done.
|
| +NET_EXPORT void ResetNSSHttpIOForTesting(); |
| + |
| // Sets the URLRequestContext for HTTP requests issued by NSS. |
| NET_EXPORT void SetURLRequestContextForNSSHttpIO( |
| URLRequestContext* request_context); |