Index: Source/platform/network/ContentSecurityPolicyParsers.h |
diff --git a/Source/platform/network/ContentSecurityPolicyParsers.h b/Source/platform/network/ContentSecurityPolicyParsers.h |
index 37836d638f97ac674b2fd6446a7abcebb4368f29..1256aef4b2aff1cdb8dd065a4a041f4ff90fea31 100644 |
--- a/Source/platform/network/ContentSecurityPolicyParsers.h |
+++ b/Source/platform/network/ContentSecurityPolicyParsers.h |
@@ -5,15 +5,14 @@ |
#ifndef ContentSecurityPolicyParsers_h |
#define ContentSecurityPolicyParsers_h |
+#include "platform/CryptoUtilities.h" |
#include "platform/PlatformExport.h" |
#include "wtf/Vector.h" |
#include "wtf/unicode/Unicode.h" |
namespace WebCore { |
-static const size_t kMaxDigestSize = 64; |
-typedef Vector<uint8_t, kMaxDigestSize> DigestValue; |
-typedef std::pair<unsigned, DigestValue> CSPHashValue; |
+typedef std::pair<unsigned, CryptoUtil::DigestValue> CSPHashValue; |
enum ContentSecurityPolicyHeaderType { |
ContentSecurityPolicyHeaderTypeReport, |