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

Unified Diff: chrome/browser/ui/webui/options/certificate_manager_handler.cc

Issue 2711113002: net: remove CryptoModuleList typedef (Closed)
Patch Set: one more fix for chromeos Created 3 years, 10 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/ui/webui/options/certificate_manager_handler.cc
diff --git a/chrome/browser/ui/webui/options/certificate_manager_handler.cc b/chrome/browser/ui/webui/options/certificate_manager_handler.cc
index 1ff301cafa6307fec01635a941a5873d8d04eb9e..b50bd9072d8e06dfcc1950da5eee43177d797c91 100644
--- a/chrome/browser/ui/webui/options/certificate_manager_handler.cc
+++ b/chrome/browser/ui/webui/options/certificate_manager_handler.cc
@@ -839,8 +839,8 @@ void CertificateManagerHandler::ImportPersonalPasswordSelected(
slot_ = certificate_manager_model_->cert_db()->GetPublicSlot();
}
- net::CryptoModuleList modules;
- modules.push_back(net::CryptoModule::CreateFromHandle(slot_.get()));
+ std::vector<crypto::ScopedPK11Slot> modules;
+ modules.push_back(crypto::ScopedPK11Slot(PK11_ReferenceSlot(slot_.get())));
chrome::UnlockSlotsIfNecessary(
modules,
chrome::kCryptoModulePasswordCertImport,

Powered by Google App Engine
This is Rietveld 408576698