Index: net/cert/ev_root_ca_metadata.h |
diff --git a/net/cert/ev_root_ca_metadata.h b/net/cert/ev_root_ca_metadata.h |
index aad78484cd186418fa114939522a440bfc6b1ecb..10227a2536c7355b0611b296638ccf1fa700f4b2 100644 |
--- a/net/cert/ev_root_ca_metadata.h |
+++ b/net/cert/ev_root_ca_metadata.h |
@@ -7,7 +7,7 @@ |
#include "build/build_config.h" |
-#if defined(USE_NSS) || defined(OS_IOS) |
+#if defined(USE_NSS_CERTS) || defined(OS_IOS) |
#include <secoidt.h> |
#endif |
@@ -30,7 +30,7 @@ namespace net { |
// extended-validation (EV) certificates. |
class NET_EXPORT_PRIVATE EVRootCAMetadata { |
public: |
-#if defined(USE_NSS) || defined(OS_IOS) |
+#if defined(USE_NSS_CERTS) || defined(OS_IOS) |
typedef SECOidTag PolicyOID; |
#elif defined(OS_WIN) |
typedef const char* PolicyOID; |
@@ -38,7 +38,7 @@ class NET_EXPORT_PRIVATE EVRootCAMetadata { |
static EVRootCAMetadata* GetInstance(); |
-#if defined(USE_NSS) || defined(OS_WIN) || defined(OS_IOS) |
+#if defined(USE_NSS_CERTS) || defined(OS_WIN) || defined(OS_IOS) |
// Returns true if policy_oid is an EV policy OID of some root CA. |
bool IsEVPolicyOID(PolicyOID policy_oid) const; |
@@ -63,7 +63,7 @@ class NET_EXPORT_PRIVATE EVRootCAMetadata { |
EVRootCAMetadata(); |
~EVRootCAMetadata(); |
-#if defined(USE_NSS) || defined(OS_IOS) |
+#if defined(USE_NSS_CERTS) || defined(OS_IOS) |
typedef std::map<SHA1HashValue, std::vector<PolicyOID>, |
SHA1HashValueLessThan> PolicyOIDMap; |