Index: net/http/transport_security_state.h |
diff --git a/net/http/transport_security_state.h b/net/http/transport_security_state.h |
index 2f97d9d34e5a6a20be27b1bcb1b96bbbad56c187..e82252a2792019c692eb72f658092c0b7b147f61 100644 |
--- a/net/http/transport_security_state.h |
+++ b/net/http/transport_security_state.h |
@@ -46,6 +46,16 @@ class NET_EXPORT TransportSecurityState |
virtual ~Delegate() {} |
}; |
+ // An interface for asynchronously sending HPKP violation reports. |
+ class NET_EXPORT ReportSender { |
+ public: |
+ // Sends the given serialized |report| to |report_uri|. |
+ virtual void Send(const GURL& report_uri, const std::string& report) = 0; |
+ |
+ protected: |
+ virtual ~ReportSender() {} |
+ }; |
+ |
TransportSecurityState(); |
~TransportSecurityState(); |