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..76b1d220d76058abc5cc7b45d63517b9c5f9e3bc 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. |
Ryan Sleevi
2015/07/30 01:52:16
Grammar v parameter (which is fun to say), does it
estark
2015/07/31 00:49:44
Yeah, I think that makes sense; done.
|
+ bool ProcessHPKPReportOnlyHeader(const HostPortPair& host_port_pair, |
+ const std::string& value, |
+ 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. |