| Index: chrome/browser/certificate_manager_model.cc
|
| diff --git a/chrome/browser/certificate_manager_model.cc b/chrome/browser/certificate_manager_model.cc
|
| index 81803ea0eae4644ca56bb5c165599350ec5b3d0d..507b74811d906b8fcf44c8684ca4cf1653b881e9 100644
|
| --- a/chrome/browser/certificate_manager_model.cc
|
| +++ b/chrome/browser/certificate_manager_model.cc
|
| @@ -166,6 +166,13 @@ int CertificateManagerModel::ImportFromPKCS12(net::CryptoModule* module,
|
| return result;
|
| }
|
|
|
| +int CertificateManagerModel::ImportUserCert(const std::string& data) {
|
| + int result = cert_db_->ImportUserCert(data);
|
| + if (result == net::OK)
|
| + Refresh();
|
| + return result;
|
| +}
|
| +
|
| bool CertificateManagerModel::ImportCACerts(
|
| const net::CertificateList& certificates,
|
| net::NSSCertDatabase::TrustBits trust_bits,
|
|
|