diff options
author | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-30 23:51:24 +0000 |
---|---|---|
committer | rvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-06-30 23:51:24 +0000 |
commit | 84ea2d04c0f80098e6361f5eb783c6e6ec8ce2f1 (patch) | |
tree | d5450ecf0f33e4a1cf654043fc9087e72f708f34 /net/ocsp | |
parent | 3be6c69d07727f429c108a0c649bbbfb20403a47 (diff) | |
download | chromium_src-84ea2d04c0f80098e6361f5eb783c6e6ec8ce2f1.zip chromium_src-84ea2d04c0f80098e6361f5eb783c6e6ec8ce2f1.tar.gz chromium_src-84ea2d04c0f80098e6361f5eb783c6e6ec8ce2f1.tar.bz2 |
net: Add NET_API to more code to enable building
a shared net library on Linux, and update base and
crypto API definitions.
BUG=76997
TEST=none
Review URL: http://codereview.chromium.org/7240021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@91234 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/ocsp')
-rw-r--r-- | net/ocsp/nss_ocsp.h | 10 |
1 files changed, 6 insertions, 4 deletions
diff --git a/net/ocsp/nss_ocsp.h b/net/ocsp/nss_ocsp.h index f88201d..4499a373 100644 --- a/net/ocsp/nss_ocsp.h +++ b/net/ocsp/nss_ocsp.h @@ -6,6 +6,8 @@ #define NET_OCSP_NSS_OCSP_H_ #pragma once +#include "net/base/net_api.h" + namespace net { class URLRequestContext; @@ -13,19 +15,19 @@ class URLRequestContext; // Sets the MessageLoop for OCSP to the current message loop. // This should be called before EnsureOCSPInit() if you want to // control the message loop for OCSP. -void SetMessageLoopForOCSP(); +NET_API void SetMessageLoopForOCSP(); // Initializes OCSP handlers for NSS. This must be called before any // certificate verification functions. This function is thread-safe, and OCSP // handlers will only ever be initialized once. ShutdownOCSP() must be called // on shutdown. -void EnsureOCSPInit(); +NET_API void EnsureOCSPInit(); // This should be called once on shutdown to stop issuing URLRequests for OCSP. -void ShutdownOCSP(); +NET_API void ShutdownOCSP(); // Set URLRequestContext for OCSP handlers. -void SetURLRequestContextForOCSP(URLRequestContext* request_context); +NET_API void SetURLRequestContextForOCSP(URLRequestContext* request_context); } // namespace net |