| Index: chrome/browser/ssl/chrome_expect_ct_reporter.cc
|
| diff --git a/chrome/browser/ssl/chrome_expect_ct_reporter.cc b/chrome/browser/ssl/chrome_expect_ct_reporter.cc
|
| index 6cfaf54f37842eb5f9e3910919302a486013d01a..e9e883dfebf34d50e2d98106b2280d6cd6561580 100644
|
| --- a/chrome/browser/ssl/chrome_expect_ct_reporter.cc
|
| +++ b/chrome/browser/ssl/chrome_expect_ct_reporter.cc
|
| @@ -106,7 +106,9 @@ void AddValidSCT(const net::SignedCertificateTimestampAndStatus& sct_and_status,
|
|
|
| // Records an UMA histogram of the net errors when Expect CT reports
|
| // fail to send.
|
| -void RecordUMAOnFailure(const GURL& report_uri, int net_error) {
|
| +void RecordUMAOnFailure(const GURL& report_uri,
|
| + int net_error,
|
| + int http_response_code) {
|
| UMA_HISTOGRAM_SPARSE_SLOWLY("SSL.ExpectCTReportFailure2", -net_error);
|
| }
|
|
|
| @@ -176,6 +178,6 @@ void ChromeExpectCTReporter::OnExpectCTFailed(
|
| UMA_HISTOGRAM_BOOLEAN("SSL.ExpectCTReportSendingAttempt", true);
|
|
|
| report_sender_->Send(report_uri, "application/json; charset=utf-8",
|
| - serialized_report, base::Closure(),
|
| + serialized_report, base::Callback<void()>(),
|
| base::Bind(RecordUMAOnFailure));
|
| }
|
|
|