| OLD | NEW |
| 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 Loading... |
| 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 |
| OLD | NEW |