Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(836)

Unified Diff: Source/core/frame/csp/CSPSourceList.h

Issue 189373010: Get rid of WTF::SHA1. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Rebase on ToT Created 6 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | Source/core/frame/csp/CSPSourceList.cpp » ('j') | Source/core/inspector/DOMPatchSupport.cpp » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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;
« no previous file with comments | « no previous file | Source/core/frame/csp/CSPSourceList.cpp » ('j') | Source/core/inspector/DOMPatchSupport.cpp » ('J')

Powered by Google App Engine
This is Rietveld 408576698