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

Unified Diff: net/url_request/fraudulent_certificate_reporter.h

Issue 935663004: Add checkbox for reporting invalid TLS/SSL cert chains (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: comment tweaks 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/fraudulent_certificate_reporter.h
diff --git a/net/url_request/fraudulent_certificate_reporter.h b/net/url_request/fraudulent_certificate_reporter.h
index 8d5d60a0ef151769355e0995ffc01714b65c8884..5fdbba25b12da764539c03058adbfab71ff5421a 100644
--- a/net/url_request/fraudulent_certificate_reporter.h
+++ b/net/url_request/fraudulent_certificate_reporter.h
@@ -18,13 +18,19 @@ class FraudulentCertificateReporter {
public:
virtual ~FraudulentCertificateReporter() {}
- // Sends a report to the report collection server containing the |ssl_info|
- // associated with a connection to |hostname|.
- virtual void SendReport(const std::string& hostname,
- const SSLInfo& ssl_info) = 0;
+ // Sends a pinning violation report to the report collection server
+ // containing the |ssl_info| associated with a connection to
+ // |hostname|.
+ virtual void SendPinningViolationReport(const std::string& hostname,
+ const SSLInfo& ssl_info) = 0;
+
+ // Sends a report of an invalid certificate chain to the report
+ // collection server containing the |ssl_info| associated with a
+ // connection to |hostname|.
+ virtual void SendInvalidChainReport(const std::string& hostname,
+ const SSLInfo& ssl_info) = 0;
};
} // namespace net
#endif // NET_URL_REQUEST_FRAUDULENT_CERTIFICATE_REPORTER_H_
-

Powered by Google App Engine
This is Rietveld 408576698