Index: net/http/http_security_headers.h |
diff --git a/net/http/http_security_headers.h b/net/http/http_security_headers.h |
index 12e6be9000a9930d35c992758e7a9c7fe3f6975d..e03da85f38ffd36825b607bc2e9d6c08beb0785e 100644 |
--- a/net/http/http_security_headers.h |
+++ b/net/http/http_security_headers.h |
@@ -14,6 +14,8 @@ |
#include "net/base/hash_value.h" |
#include "net/base/net_export.h" |
+class GURL; |
+ |
namespace net { |
const int64 kMaxHSTSAgeSecs = 86400 * 365; // 1 year |
@@ -41,6 +43,7 @@ bool NET_EXPORT_PRIVATE ParseHSTSHeader(const std::string& value, |
// "max-age" "=" delta-seconds ";" |
// "pin-" algo "=" base64 [ ";" ... ] |
// [ ";" "includeSubdomains" ] |
+// [ ";" "report-uri" "=" uri-reference ] |
// |
// For this function to return true, the key hashes specified by the HPKP |
// header must pass two additional checks. There MUST be at least one key |
@@ -52,7 +55,8 @@ bool NET_EXPORT_PRIVATE ParseHPKPHeader(const std::string& value, |
const HashValueVector& chain_hashes, |
base::TimeDelta* max_age, |
bool* include_subdomains, |
- HashValueVector* hashes); |
+ HashValueVector* hashes, |
+ GURL* report_uri); |
} // namespace net |