Make ONCCertificateImporter async.
2nd Reland of https://codereview.chromium.org/547553005/ after fixing memory issues. This prepares for the new CertDatabase keyed service, which will have stricter threading restrictions. https://codereview.chromium.org/419013003/ Before, ONCCertificateImporter accessed the NSSCertDatabase from the UI thread and blocked on certificate store operations. Now, the import itself is asychronous and calls back on completion. While there, this also removes the GMock of the importer. BUG=413219 TBR=eroman@chromium.org Review URL: https://codereview.chromium.org/600803002 Cr-Commit-Position: refs/heads/master@{#296405}
Showing
This diff is collapsed.
This diff is collapsed.
Please register or sign in to comment