Index: Source/core/frame/csp/CSPSourceList.h |
diff --git a/Source/core/frame/csp/CSPSourceList.h b/Source/core/frame/csp/CSPSourceList.h |
index 5475eff3cfacb2f1835b431ab97d3dc25a6cde83..ad7c123d083a0e24575dd8b00b1ad11794de7fc4 100644 |
--- a/Source/core/frame/csp/CSPSourceList.h |
+++ b/Source/core/frame/csp/CSPSourceList.h |
@@ -6,6 +6,7 @@ |
#define CSPSourceList_h |
#include "core/frame/csp/CSPSource.h" |
+#include "platform/CryptoUtilities.h" |
abarth-chromium
2014/03/12 18:59:02
Yeah, I agree with Eric. Drop the "Utilities". I
jww
2014/04/01 23:29:09
Done.
|
#include "platform/network/ContentSecurityPolicyParsers.h" |
#include "wtf/HashSet.h" |
#include "wtf/text/WTFString.h" |
@@ -38,14 +39,14 @@ private: |
bool parsePort(const UChar* begin, const UChar* end, int& port, bool& portHasWildcard); |
bool parsePath(const UChar* begin, const UChar* end, String& path); |
bool parseNonce(const UChar* begin, const UChar* end, String& nonce); |
- bool parseHash(const UChar* begin, const UChar* end, DigestValue& hash, ContentSecurityPolicyHashAlgorithm&); |
+ bool parseHash(const UChar* begin, const UChar* end, CryptoUtil::DigestValue& hash, ContentSecurityPolicyHashAlgorithm&); |
abarth-chromium
2014/03/12 18:59:02
Why not just DigestValue ?
jww
2014/04/01 23:29:09
I've now gotten rid of the CryptoUtil namespace, w
|
void addSourceSelf(); |
void addSourceStar(); |
void addSourceUnsafeInline(); |
void addSourceUnsafeEval(); |
void addSourceNonce(const String& nonce); |
- void addSourceHash(const ContentSecurityPolicyHashAlgorithm&, const DigestValue& hash); |
+ void addSourceHash(const ContentSecurityPolicyHashAlgorithm&, const CryptoUtil::DigestValue& hash); |
ContentSecurityPolicy* m_policy; |
Vector<CSPSource> m_list; |