| 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 0bd06e0de548ac04e9286051c147256d9875bb17..3daa3eb1c998098af6a1fb68ac578bd58ba9fd5f 100644
|
| --- a/chrome/browser/profiles/profile_io_data.cc
|
| +++ b/chrome/browser/profiles/profile_io_data.cc
|
| @@ -100,6 +100,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)
|
| @@ -839,7 +840,12 @@ net::URLRequestContext* ProfileIOData::ResourceContext::GetRequestContext() {
|
|
|
| scoped_ptr<net::ClientCertStore>
|
| ProfileIOData::ResourceContext::CreateClientCertStore() {
|
| -#if defined(USE_NSS)
|
| +#if defined(OS_CHROMEOS)
|
| + return scoped_ptr<net::ClientCertStore>(new net::ClientCertStoreChromeOS(
|
| + io_data_->username_hash(),
|
| + base::Bind(&CreateCryptoModuleBlockingPasswordDelegate,
|
| + chrome::kCryptoModulePasswordClientAuth)));
|
| +#elif defined(USE_NSS)
|
| return scoped_ptr<net::ClientCertStore>(new net::ClientCertStoreNSS(
|
| base::Bind(&CreateCryptoModuleBlockingPasswordDelegate,
|
| chrome::kCryptoModulePasswordClientAuth)));
|
|
|