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

Unified Diff: net/ocsp/nss_ocsp.h

Issue 11347039: Ensure that OCSPIOLoop is associated with right thread if restarted. (Closed) Base URL: http://git.chromium.org/chromium/src.git@master
Patch Set: Response to review Created 8 years, 1 month 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 side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/ocsp/nss_ocsp.cc » ('j') | net/ocsp/nss_ocsp.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ocsp/nss_ocsp.h
diff --git a/net/ocsp/nss_ocsp.h b/net/ocsp/nss_ocsp.h
index b8dfb527f9db35dd851f9832e74ab962ad29ab44..fd840056d072a85c6975ac3a1a980f4005537390 100644
--- a/net/ocsp/nss_ocsp.h
+++ b/net/ocsp/nss_ocsp.h
@@ -26,6 +26,10 @@ 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 thread.
+NET_EXPORT void ResetNSSHttpIOForTesting();
+
// Sets the URLRequestContext for HTTP requests issued by NSS.
NET_EXPORT void SetURLRequestContextForNSSHttpIO(
URLRequestContext* request_context);
« no previous file with comments | « no previous file | net/ocsp/nss_ocsp.cc » ('j') | net/ocsp/nss_ocsp.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698