Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2183)

Unified Diff: chrome/browser/certificate_manager_model.cc

Issue 5686002: NSS: PKCS 11 password prompt. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: addressing review comments Created 9 years, 11 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: chrome/browser/certificate_manager_model.cc
diff --git a/chrome/browser/certificate_manager_model.cc b/chrome/browser/certificate_manager_model.cc
index 619260ecb4df581a417df86b408d3d307610dbbc..067a3021e76a102ce797dc065ef7dd0068264396 100644
--- a/chrome/browser/certificate_manager_model.cc
+++ b/chrome/browser/certificate_manager_model.cc
@@ -74,9 +74,10 @@ string16 CertificateManagerModel::GetColumnText(
return rv;
}
-int CertificateManagerModel::ImportFromPKCS12(const std::string& data,
+int CertificateManagerModel::ImportFromPKCS12(net::CryptoModule* module,
+ const std::string& data,
const string16& password) {
- int result = cert_db_.ImportFromPKCS12(data, password);
+ int result = cert_db_.ImportFromPKCS12(module, data, password);
if (result == net::OK)
Refresh();
return result;
« no previous file with comments | « chrome/browser/certificate_manager_model.h ('k') | chrome/browser/dom_ui/options/certificate_manager_handler.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698