Descriptionnet: fix callbacks in DiskCacheBasedSSLHostInfo
Previously, DiskCacheBasedSSLHostInfo had a couple of problems:
* I had assumed that the disk cache was taking references to the
callback. It wasn't.
* Even if it were, I was passing pointers into
DiskCacheBasedSSLHostInfo which needed to be live for the duration
of the callback.
This change switches to a custom callback class which doesn't need
reference counting and which contains a |user_data| pointer member which
remains live for the duration of the callback.
BUG=63867
TEST=Navigate to an HTTPS page with Snap Start running and no network connection.
Patch Set 1 #
Total comments: 8
Patch Set 2 : ... #
Total comments: 1
Messages
Total messages: 8 (0 generated)
|