Update expectations after WebKit roll.
[chromium-blink-merge.git] / net / ocsp / nss_ocsp.h
blob1bacd7644d683a6447741dbbce9710d3231b8ca7
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
3 // found in the LICENSE file.
5 #ifndef NET_OCSP_NSS_OCSP_H_
6 #define NET_OCSP_NSS_OCSP_H_
8 class URLRequestContext;
10 namespace net {
12 // Initializes OCSP handlers for NSS. This must be called before any
13 // certificate verification functions. This function is thread-safe, and OCSP
14 // handlers will only ever be initialized once.
15 void EnsureOCSPInit();
17 // Set URLRequestContext for OCSP handlers.
18 void SetURLRequestContextForOCSP(URLRequestContext* request_context);
19 URLRequestContext* GetURLRequestContextForOCSP();
21 } // namespace net
23 #endif // NET_OCSP_NSS_OCSP_H_