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

Unified Diff: net/ssl/ssl_config_service.cc

Issue 2937563002: Remove the EV Certs Whitelist (Closed)
Patch Set: Update comment Created 3 years, 6 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
« no previous file with comments | « net/ssl/ssl_config_service.h ('k') | net/ssl/ssl_info.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/ssl/ssl_config_service.cc
diff --git a/net/ssl/ssl_config_service.cc b/net/ssl/ssl_config_service.cc
index 6afef76e86af495c93d2fdafe1843a652550c468..eb0f25ce2938dccefc475ee9219df852a6b5ffb8 100644
--- a/net/ssl/ssl_config_service.cc
+++ b/net/ssl/ssl_config_service.cc
@@ -17,9 +17,8 @@ SSLConfigService::SSLConfigService()
}
// GlobalSSLObject holds a reference to a global SSL object, such as the
-// CRLSet or the EVCertsWhitelist. It simply wraps a lock around a
-// scoped_refptr so that getting a reference doesn't race with
-// updating the global object.
+// CRLSet. It simply wraps a lock around a scoped_refptr so that getting a
+// reference doesn't race with updating the global object.
template <class T>
class GlobalSSLObject {
public:
@@ -39,11 +38,8 @@ class GlobalSSLObject {
};
typedef GlobalSSLObject<CRLSet> GlobalCRLSet;
-typedef GlobalSSLObject<ct::EVCertsWhitelist> GlobalEVCertsWhitelist;
base::LazyInstance<GlobalCRLSet>::Leaky g_crl_set = LAZY_INSTANCE_INITIALIZER;
-base::LazyInstance<GlobalEVCertsWhitelist>::Leaky g_ev_whitelist =
- LAZY_INSTANCE_INITIALIZER;
// static
void SSLConfigService::SetCRLSet(scoped_refptr<CRLSet> crl_set) {
@@ -56,17 +52,6 @@ scoped_refptr<CRLSet> SSLConfigService::GetCRLSet() {
return g_crl_set.Get().Get();
}
-// static
-void SSLConfigService::SetEVCertsWhitelist(
- scoped_refptr<ct::EVCertsWhitelist> ev_whitelist) {
- g_ev_whitelist.Get().Set(ev_whitelist);
-}
-
-// static
-scoped_refptr<ct::EVCertsWhitelist> SSLConfigService::GetEVCertsWhitelist() {
- return g_ev_whitelist.Get().Get();
-}
-
void SSLConfigService::AddObserver(Observer* observer) {
observer_list_.AddObserver(observer);
}
« no previous file with comments | « net/ssl/ssl_config_service.h ('k') | net/ssl/ssl_info.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698