| 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 SubresourceIntegrity_h | 5 #ifndef SubresourceIntegrity_h |
| 6 #define SubresourceIntegrity_h | 6 #define SubresourceIntegrity_h |
| 7 | 7 |
| 8 #include "base/gtest_prod_util.h" | 8 #include "base/gtest_prod_util.h" |
| 9 #include "core/CoreExport.h" | 9 #include "core/CoreExport.h" |
| 10 #include "platform/Crypto.h" | 10 #include "platform/Crypto.h" |
| 11 #include "platform/loader/fetch/IntegrityMetadata.h" | 11 #include "platform/loader/fetch/IntegrityMetadata.h" |
| 12 #include "wtf/Allocator.h" | 12 #include "platform/wtf/Allocator.h" |
| 13 #include "wtf/text/WTFString.h" | 13 #include "platform/wtf/text/WTFString.h" |
| 14 | 14 |
| 15 namespace blink { | 15 namespace blink { |
| 16 | 16 |
| 17 class Document; | 17 class Document; |
| 18 class ExecutionContext; | 18 class ExecutionContext; |
| 19 class KURL; | 19 class KURL; |
| 20 class Resource; | 20 class Resource; |
| 21 | 21 |
| 22 class CORE_EXPORT SubresourceIntegrity { | 22 class CORE_EXPORT SubresourceIntegrity { |
| 23 STATIC_ONLY(SubresourceIntegrity); | 23 STATIC_ONLY(SubresourceIntegrity); |
| (...skipping 59 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 83 const UChar* end, | 83 const UChar* end, |
| 84 HashAlgorithm&); | 84 HashAlgorithm&); |
| 85 static bool ParseDigest(const UChar*& begin, | 85 static bool ParseDigest(const UChar*& begin, |
| 86 const UChar* end, | 86 const UChar* end, |
| 87 String& digest); | 87 String& digest); |
| 88 }; | 88 }; |
| 89 | 89 |
| 90 } // namespace blink | 90 } // namespace blink |
| 91 | 91 |
| 92 #endif | 92 #endif |
| OLD | NEW |