OLD | NEW |
1 // Copyright 2015 The Chromium Authors. All rights reserved. | 1 // Copyright 2015 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 IntegrityMetadata_h | 5 #ifndef IntegrityMetadata_h |
6 #define IntegrityMetadata_h | 6 #define IntegrityMetadata_h |
7 | 7 |
8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
9 #include "platform/Crypto.h" | 9 #include "platform/Crypto.h" |
10 #include "wtf/HashSet.h" | 10 #include "wtf/HashSet.h" |
(...skipping 22 matching lines...) Expand all Loading... |
33 IntegrityMetadataPair toPair() const; | 33 IntegrityMetadataPair toPair() const; |
34 | 34 |
35 static bool setsEqual(const IntegrityMetadataSet& set1, | 35 static bool setsEqual(const IntegrityMetadataSet& set1, |
36 const IntegrityMetadataSet& set2); | 36 const IntegrityMetadataSet& set2); |
37 | 37 |
38 private: | 38 private: |
39 WTF::String m_digest; | 39 WTF::String m_digest; |
40 HashAlgorithm m_algorithm; | 40 HashAlgorithm m_algorithm; |
41 }; | 41 }; |
42 | 42 |
| 43 enum class ResourceIntegrityDisposition { NotChecked = 0, Failed, Passed }; |
| 44 |
43 } // namespace blink | 45 } // namespace blink |
44 | 46 |
45 #endif | 47 #endif |
OLD | NEW |