Chromium Code Reviews
DescriptionUse CertificateReportSender error callback to record HPKP UMA metrics
This CL does two things:
1. Use the CertificateReportSender error callback to record UMA metrics
when we fail to send an HPKP report.
2. The error callback argument of a URLRequest* wasn't set up quite
right to do this; TransportSecurityState provides the callback, but
TransportSecurityState is in net/http and shouldn't depend on
URLRequest. So instead I changed the callback arguments to be the report
URI and the net error from sending the report.
BUG=596624
Committed: https://crrev.com/f2979127c4951011a74f00fab8fdff94d87952de
Cr-Commit-Position: refs/heads/master@{#385198}
Patch Set 1 #Patch Set 2 : fix null dereference #
Total comments: 10
Patch Set 3 : rebase #Patch Set 4 : eroman comments #
Messages
Total messages: 12 (5 generated)
|
||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||||