Index: chrome/browser/profiles/profile_io_data.cc |
diff --git a/chrome/browser/profiles/profile_io_data.cc b/chrome/browser/profiles/profile_io_data.cc |
index 99f3793c0157f18618222399755b10c33e6dcb0b..379f31b1f3feaf7f41756568b7a4229f40919c64 100644 |
--- a/chrome/browser/profiles/profile_io_data.cc |
+++ b/chrome/browser/profiles/profile_io_data.cc |
@@ -71,6 +71,7 @@ |
#include "net/proxy/proxy_config_service_fixed.h" |
#include "net/proxy/proxy_script_fetcher_impl.h" |
#include "net/proxy/proxy_service.h" |
+#include "net/ssl/client_cert_store_impl.h" |
#include "net/ssl/server_bound_cert_service.h" |
#include "net/url_request/data_protocol_handler.h" |
#include "net/url_request/file_protocol_handler.h" |
@@ -727,6 +728,15 @@ bool ProfileIOData::ResourceContext::AllowContentAccess( |
return setting == CONTENT_SETTING_ALLOW; |
} |
+scoped_ptr<net::ClientCertStore> |
+ProfileIOData::ResourceContext::GetClientCertStore() { |
+#if !defined(USE_OPENSSL) |
+ return scoped_ptr<net::ClientCertStore>(new net::ClientCertStoreImpl()); |
+#else |
+ return scoped_ptr<net::ClientCertStore>(); |
+#endif |
+} |
+ |
// static |
std::string ProfileIOData::GetSSLSessionCacheShard() { |
DCHECK(BrowserThread::CurrentlyOn(BrowserThread::IO)); |