DescriptionMake ONCCertificateImporter async.
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.
This is a reland of f08303014b165f6013fe33198cd798ebd9a4e925
refs/heads/master@{#295534}
with the fixed destruction order in ONCCertificateImporterImplTest.
The fix was reviewed in
https://codereview.chromium.org/589443002/
TBR=eroman@chromium.org
BUG=413219
Committed: https://crrev.com/3b4ba221657f6b27e2156818bc445c885d87fc0e
Cr-Commit-Position: refs/heads/master@{#295687}
Patch Set 1 #Messages
Total messages: 7 (2 generated)
|