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.
BUG=413219
Committed: https://crrev.com/bc656c0e7b7bd67fb28e5a880d21b9510ebd3e3a
Cr-Commit-Position: refs/heads/master@{#295534}
Patch Set 1 : #Patch Set 2 : Simplified NSSCertDatabase creation in unit test. #
Total comments: 18
Patch Set 3 : Addressed comments. #
Total comments: 1
Patch Set 4 : Fixed compilation. #
Total comments: 6
Patch Set 5 : Fixed comment. Removed logging. #Messages
Total messages: 21 (9 generated)
|