| 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 ef1bda1a6125831660e20cccc82ae06e303d429c..60b1113daf75a28a6a2e26869019511345252067 100644
|
| --- a/chrome/browser/profiles/profile_io_data.cc
|
| +++ b/chrome/browser/profiles/profile_io_data.cc
|
| @@ -101,6 +101,7 @@
|
| #include "chromeos/settings/cros_settings_names.h"
|
| #include "crypto/nss_util.h"
|
| #include "crypto/nss_util_internal.h"
|
| +#include "net/ssl/client_cert_store_chromeos.h"
|
| #endif // defined(OS_CHROMEOS)
|
|
|
| #if defined(USE_NSS)
|
| @@ -832,7 +833,12 @@ net::URLRequestContext* ProfileIOData::ResourceContext::GetRequestContext() {
|
| scoped_ptr<net::ClientCertStore>
|
| ProfileIOData::ResourceContext::CreateClientCertStore() {
|
| #if !defined(USE_OPENSSL)
|
| +#if defined(OS_CHROMEOS)
|
| + scoped_ptr<net::ClientCertStoreChromeOS> store(
|
| + new net::ClientCertStoreChromeOS(io_data_->username_hash()));
|
| +#else
|
| scoped_ptr<net::ClientCertStoreImpl> store(new net::ClientCertStoreImpl());
|
| +#endif
|
| #if defined(USE_NSS)
|
| store->set_password_delegate_factory(
|
| base::Bind(&CreateCryptoModuleBlockingPasswordDelegate,
|
|
|