[Lacros] Suspend web requests until client certs are ready
This CL makes web requests that require client certificates wait until the client certificate storage is loaded. Without that they proceed as if there is no suitable certificate and the browser doesn't retry to find a certificate for the same connection (including on the page refresh). Add a method to CertDbInitializer that allows to wait for the initialization to finish. Wrap the base ClientCertStoreNSS class into a new class and wait in it for the initialization to finish before continuing the retrieval of client certificates. Bug: 1145946 Change-Id: I1f5ab87d93c3eedea75f86a9769dcaddb0cd8404 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2574757Reviewed-by:Michael Ershov <miersh@google.com> Reviewed-by:
Pavol Marko <pmarko@chromium.org> Reviewed-by:
Ryan Sleevi <rsleevi@chromium.org> Reviewed-by:
Erik Chen <erikchen@chromium.org> Commit-Queue: Michael Ershov <miersh@google.com> Cr-Commit-Position: refs/heads/master@{#836434}
Showing
This diff is collapsed.
Please register or sign in to comment