Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(852)

Unified Diff: net/url_request/url_request_http_job.cc

Issue 935663004: Add checkbox for reporting invalid TLS/SSL cert chains (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix styling on checkbox for SSL interstitial Created 5 years, 10 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/url_request/url_request_http_job.cc
diff --git a/net/url_request/url_request_http_job.cc b/net/url_request/url_request_http_job.cc
index 958ef821d5d8759ddd48b7899200b93af724323f..b7a41d65b078e39764677d2e1698861130dc8332 100644
--- a/net/url_request/url_request_http_job.cc
+++ b/net/url_request/url_request_http_job.cc
@@ -872,7 +872,9 @@ void URLRequestHttpJob::OnStartCompleted(int result) {
const SSLInfo& ssl_info = transaction_->GetResponseInfo()->ssl_info;
const std::string& host = request_->url().host();
- reporter->SendReport(host, ssl_info);
+ reporter->SendReport(
+ FraudulentCertificateReporter::REPORT_TYPE_PIN_VIOLATION, host,
+ ssl_info);
}
}

Powered by Google App Engine
This is Rietveld 408576698