Index: net/http/transport_security_state.h |
diff --git a/net/http/transport_security_state.h b/net/http/transport_security_state.h |
index 1c5658ae2984ff34a6d2c7c20783ce56e1772dc9..d7befb7cfef31d159e94633308074936a6088cd2 100644 |
--- a/net/http/transport_security_state.h |
+++ b/net/http/transport_security_state.h |
@@ -299,6 +299,14 @@ class NET_EXPORT TransportSecurityState |
const HashValueVector& hashes, |
const GURL& report_uri); |
+ // Parses |value| as a Public-Key-Pins-Report-Only header value and |
+ // sends a HPKP report for |host_port_pair| if |ssl_info| violates the |
+ // pin. Returns true if |value| parses and includes a valid |
+ // report-uri, and false otherwise. |
+ bool ProcessHPKPReportOnlyHeader(const std::string& value, |
+ const HostPortPair& host_port_pair, |
+ const SSLInfo& ssl_info); |
+ |
// Returns true iff we have any static public key pins for the |host| and |
// iff its set of required pins is the set we expect for Google |
// properties. |