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

Side by Side Diff: net/ocsp/nss_ocsp.h

Issue 391062: Move NULLing of OCSP context from UI thread to IO thread, to avoid possible r... (Closed) Base URL: svn://chrome-svn/chrome/trunk/src/
Patch Set: sync Created 11 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 unified diff | Download patch | Annotate | Revision Log
« no previous file with comments | « chrome/browser/profile.cc ('k') | net/ocsp/nss_ocsp.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright (c) 2009 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2009 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_OCSP_NSS_OCSP_H_
6 #define NET_OCSP_NSS_OCSP_H_ 6 #define NET_OCSP_NSS_OCSP_H_
7 7
8 class URLRequestContext; 8 class URLRequestContext;
9 9
10 namespace net { 10 namespace net {
11 11
12 // Initializes OCSP handlers for NSS. This must be called before any 12 // Initializes OCSP handlers for NSS. This must be called before any
13 // certificate verification functions. This function is thread-safe, and OCSP 13 // certificate verification functions. This function is thread-safe, and OCSP
14 // handlers will only ever be initialized once. 14 // handlers will only ever be initialized once.
15 void EnsureOCSPInit(); 15 void EnsureOCSPInit();
16 16
17 // Set URLRequestContext for OCSP handlers. 17 // Set URLRequestContext for OCSP handlers.
18 void SetURLRequestContextForOCSP(URLRequestContext* request_context); 18 void SetURLRequestContextForOCSP(URLRequestContext* request_context);
19 URLRequestContext* GetURLRequestContextForOCSP();
19 20
20 } // namespace net 21 } // namespace net
21 22
22 #endif // NET_OCSP_NSS_OCSP_H_ 23 #endif // NET_OCSP_NSS_OCSP_H_
OLDNEW
« no previous file with comments | « chrome/browser/profile.cc ('k') | net/ocsp/nss_ocsp.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698