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

Unified Diff: chrome/browser/net/chrome_fraudulent_certificate_reporter.cc

Issue 578553004: Remove the "snionly" concept from the HSTS preload. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: ... Created 6 years, 3 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: chrome/browser/net/chrome_fraudulent_certificate_reporter.cc
diff --git a/chrome/browser/net/chrome_fraudulent_certificate_reporter.cc b/chrome/browser/net/chrome_fraudulent_certificate_reporter.cc
index f666c8715c950dadc9dabb1c462bf88dcfbbae48..5aef283f4be9c91b0ca2046fee21c8c10e41cc53 100644
--- a/chrome/browser/net/chrome_fraudulent_certificate_reporter.cc
+++ b/chrome/browser/net/chrome_fraudulent_certificate_reporter.cc
@@ -70,12 +70,10 @@ ChromeFraudulentCertificateReporter::CreateURLRequest(
void ChromeFraudulentCertificateReporter::SendReport(
const std::string& hostname,
- const net::SSLInfo& ssl_info,
- bool sni_available) {
+ const net::SSLInfo& ssl_info) {
// We do silent/automatic reporting ONLY for Google properties. For other
// domains (when we start supporting that), we will ask for user permission.
- if (!net::TransportSecurityState::IsGooglePinnedProperty(hostname,
- sni_available)) {
+ if (!net::TransportSecurityState::IsGooglePinnedProperty(hostname)) {
return;
}

Powered by Google App Engine
This is Rietveld 408576698