DescriptionMake 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
Committed: https://crrev.com/197fa5f4d6499ab91ae2435d82dda19fd60d9271
Cr-Commit-Position: refs/heads/master@{#296405}
Patch Set 1 #Patch Set 2 : Applied fix. #Messages
Total messages: 9 (3 generated)
|