Chromium Code Reviews
DescriptionMake SSLErrorHandler UI-thread-only and not-refcounted
This CL makes the SSLErrorHandler class UI-thread-only
(instead of shared between UI and IO as it was previously) and not
refcounted. When a decision about an error is made synchronously, the
SSLErrorHandler is owned by SSLPolicy. When SSLPolicy calls out to the
embedder to make an asynchronous decision about what to do with the
error, the callback passed to the embedder takes ownership of the
SSLErrorHandler.
This CL is based on top of two cleanup CLs:
1. https://codereview.chromium.org/2220603003: Remove unnecessary
|result| argument from AllowCertificateError()
2. https://codereview.chromium.org/2222003002: Combine SSLCertErrorHandler
and SSLErrorHandler
BUG=558491
Committed: https://crrev.com/dc874b5d1b42f7747fa7b75b8cc2f322f877d11a
Cr-Commit-Position: refs/heads/master@{#410682}
Patch Set 1 : rebase #Patch Set 2 : rebase on top of https://codereview.chromium.org/2222003002/ #
Total comments: 8
Patch Set 3 : rebase #Patch Set 4 : nasko comments #Patch Set 5 : remove UI-thread dereference for DCHECK #
Messages
Total messages: 23 (15 generated)
|
|||||||||||||||||||||||||||||||||||||||||||||||||||||||