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

Side by Side 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 and fixed header guard collision. Created 6 years, 8 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 unified diff | Download patch
« no previous file with comments | « no previous file | Source/core/frame/csp/CSPSourceList.cpp » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2014 The Chromium Authors. All rights reserved. 1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CSPSourceList_h 5 #ifndef CSPSourceList_h
6 #define CSPSourceList_h 6 #define CSPSourceList_h
7 7
8 #include "core/frame/csp/CSPSource.h" 8 #include "core/frame/csp/CSPSource.h"
9 #include "platform/Crypto.h"
9 #include "platform/network/ContentSecurityPolicyParsers.h" 10 #include "platform/network/ContentSecurityPolicyParsers.h"
10 #include "wtf/HashSet.h" 11 #include "wtf/HashSet.h"
11 #include "wtf/text/WTFString.h" 12 #include "wtf/text/WTFString.h"
12 13
13 namespace WebCore { 14 namespace WebCore {
14 15
15 class ContentSecurityPolicy; 16 class ContentSecurityPolicy;
16 class KURL; 17 class KURL;
17 18
18 class CSPSourceList { 19 class CSPSourceList {
(...skipping 36 matching lines...) Expand 10 before | Expand all | Expand 10 after
55 bool m_allowEval; 56 bool m_allowEval;
56 HashSet<String> m_nonces; 57 HashSet<String> m_nonces;
57 HashSet<CSPHashValue> m_hashes; 58 HashSet<CSPHashValue> m_hashes;
58 uint8_t m_hashAlgorithmsUsed; 59 uint8_t m_hashAlgorithmsUsed;
59 }; 60 };
60 61
61 62
62 } // namespace WebCore 63 } // namespace WebCore
63 64
64 #endif 65 #endif
OLDNEW
« no previous file with comments | « no previous file | Source/core/frame/csp/CSPSourceList.cpp » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698