Index: net/cert/cert_database.h |
diff --git a/net/cert/cert_database.h b/net/cert/cert_database.h |
index c4ead812f2f6e500b5adb230eb92ef323beec012..8c50add885b116a4d88530d1a6d55431961f78d0 100644 |
--- a/net/cert/cert_database.h |
+++ b/net/cert/cert_database.h |
@@ -16,6 +16,8 @@ template <class ObserverType> class ObserverListThreadSafe; |
namespace net { |
+class NSSCertDatabase; |
+ |
// This class provides cross-platform functions to verify and add user |
// certificates, and to observe changes to the underlying certificate stores. |
@@ -91,7 +93,9 @@ class NET_EXPORT CertDatabase { |
const scoped_refptr<ObserverListThreadSafe<Observer> > observer_list_; |
-#if defined(USE_NSS) || (defined(OS_MACOSX) && !defined(OS_IOS)) |
+#if defined(USE_NSS) |
+ friend class NSSCertDatabase; |
+#elif (defined(OS_MACOSX) && !defined(OS_IOS)) |
class Notifier; |
friend class Notifier; |
scoped_ptr<Notifier> notifier_; |