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

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

Issue 12974003: Improve TransportSecurityState data storage. (Closed) Base URL: https://src.chromium.org/chrome/trunk/src/
Patch Set: Created 7 years, 8 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
===================================================================
--- chrome/browser/net/chrome_fraudulent_certificate_reporter.cc (revision 186438)
+++ chrome/browser/net/chrome_fraudulent_certificate_reporter.cc (working copy)
@@ -65,14 +65,9 @@
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)) {
- return;
- }
std::string report = BuildReport(hostname, ssl_info);
« no previous file with comments | « chrome/browser/net/chrome_fraudulent_certificate_reporter.h ('k') | chrome/browser/net/transport_security_persister.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698