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_ |
- |