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

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') | no next file with comments »
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..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);
« no previous file with comments | « no previous file | net/ocsp/nss_ocsp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698