summaryrefslogtreecommitdiffstats
path: root/net/ocsp/nss_ocsp.cc
diff options
context:
space:
mode:
Diffstat (limited to 'net/ocsp/nss_ocsp.cc')
-rw-r--r--net/ocsp/nss_ocsp.cc9
1 files changed, 0 insertions, 9 deletions
diff --git a/net/ocsp/nss_ocsp.cc b/net/ocsp/nss_ocsp.cc
index f353778..80e5413 100644
--- a/net/ocsp/nss_ocsp.cc
+++ b/net/ocsp/nss_ocsp.cc
@@ -931,19 +931,10 @@ void ShutdownOCSP() {
void SetURLRequestContextForOCSP(URLRequestContext* request_context) {
pthread_mutex_lock(&g_request_context_lock);
if (request_context) {
- DCHECK(request_context->is_main());
DCHECK(!g_request_context);
}
g_request_context = request_context;
pthread_mutex_unlock(&g_request_context_lock);
}
-URLRequestContext* GetURLRequestContextForOCSP() {
- pthread_mutex_lock(&g_request_context_lock);
- URLRequestContext* request_context = g_request_context;
- pthread_mutex_unlock(&g_request_context_lock);
- DCHECK(!request_context || request_context->is_main());
- return request_context;
-}
-
} // namespace net