Update To 11.40.268.0
[platform/framework/web/crosswalk.git] / src / net / ssl / ssl_config_service.h
index 51c29ca..e074309 100644 (file)
@@ -11,6 +11,7 @@
 #include "base/observer_list.h"
 #include "net/base/net_export.h"
 #include "net/cert/crl_set.h"
+#include "net/cert/ct_ev_whitelist.h"
 #include "net/ssl/ssl_config.h"
 
 namespace net {
@@ -50,6 +51,11 @@ class NET_EXPORT SSLConfigService
   static void SetCRLSet(scoped_refptr<CRLSet> crl_set);
   static scoped_refptr<CRLSet> GetCRLSet();
 
+  // Sets and gets the current, global EV certificates whitelist
+  static void SetEVCertsWhitelist(
+      scoped_refptr<ct::EVCertsWhitelist> ev_whitelist);
+  static scoped_refptr<ct::EVCertsWhitelist> GetEVCertsWhitelist();
+
   // Add an observer of this service.
   void AddObserver(Observer* observer);