Chromium Code Reviews| Index: net/base/x509_util_openssl.h |
| diff --git a/net/base/x509_util_openssl.h b/net/base/x509_util_openssl.h |
| index 7faa0085ba6fbddbccd8fcffd3835ea75f11d26b..fbe6336e5ead8c7e42ce7bd51e14bb020df56549 100644 |
| --- a/net/base/x509_util_openssl.h |
| +++ b/net/base/x509_util_openssl.h |
| @@ -12,6 +12,8 @@ |
| #include <string> |
| #include <vector> |
| +#include "net/base/net_export.h" |
| + |
| namespace base { |
| class Time; |
| } // namespace base |
| @@ -22,16 +24,20 @@ namespace net { |
| // into more convenient std / base datatypes. |
| namespace x509_util { |
| -bool ParsePrincipalKeyAndValueByIndex(X509_NAME* name, |
| - int index, |
| - std::string* key, |
| - std::string* value); |
| +bool NET_EXPORT ParsePrincipalKeyAndValueByIndex(X509_NAME* name, |
| + int index, |
| + std::string* key, |
| + std::string* value); |
| -bool ParsePrincipalValueByIndex(X509_NAME* name, int index, std::string* value); |
| +bool NET_EXPORT ParsePrincipalValueByIndex(X509_NAME* name, |
|
wtc
2011/10/06 17:41:07
Nit: ParsePrincipalValueByIndex isn't used outside
|
| + int index, |
| + std::string* value); |
| -bool ParsePrincipalValueByNID(X509_NAME* name, int nid, std::string* value); |
| +bool NET_EXPORT ParsePrincipalValueByNID(X509_NAME* name, |
| + int nid, |
| + std::string* value); |
| -bool ParseDate(ASN1_TIME* x509_time, base::Time* time); |
| +bool NET_EXPORT ParseDate(ASN1_TIME* x509_time, base::Time* time); |
| } // namespace x509_util |