Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(521)

Unified Diff: net/cert/nss_profile_filter_chromeos.h

Issue 419013003: Replace c/b/nss_context by a KeyedService. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebase, format. Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/cert/nss_profile_filter_chromeos.h
diff --git a/net/cert/nss_profile_filter_chromeos.h b/net/cert/nss_profile_filter_chromeos.h
index 36c42d007edf98cfe09c66ed9c494e10e900a137..0be014b745f92e18905c741251ff13786b93727a 100644
--- a/net/cert/nss_profile_filter_chromeos.h
+++ b/net/cert/nss_profile_filter_chromeos.h
@@ -5,6 +5,8 @@
#ifndef NET_CERT_NSS_PROFILE_FILTER_CHROMEOS_H_
#define NET_CERT_NSS_PROFILE_FILTER_CHROMEOS_H_
+#include "base/callback_forward.h"
+#include "base/macros.h"
#include "base/memory/scoped_ptr.h"
#include "crypto/scoped_nss_types.h"
#include "net/base/crypto_module.h"
@@ -68,6 +70,16 @@ class NET_EXPORT NSSProfileFilterChromeOS {
crypto::ScopedPK11Slot system_slot_;
};
+class NET_EXPORT NSSProfileFilterChromeOSFactory {
+ public:
+ virtual ~NSSProfileFilterChromeOSFactory() {}
+ virtual scoped_ptr<NSSProfileFilterChromeOS> CreateFilter(
+ const base::Callback<void(const NSSProfileFilterChromeOS&)>&) = 0;
+
+ private:
+ DISALLOW_ASSIGN(NSSProfileFilterChromeOSFactory);
+};
+
} // namespace net
#endif // NET_CERT_NSS_PROFILE_FILTER_CHROMEOS_H_

Powered by Google App Engine
This is Rietveld 408576698