Index: Source/core/frame/SubresourceIntegrity.h |
diff --git a/Source/bindings/modules/v8/ModuleBindingsInitializer.h b/Source/core/frame/SubresourceIntegrity.h |
similarity index 50% |
copy from Source/bindings/modules/v8/ModuleBindingsInitializer.h |
copy to Source/core/frame/SubresourceIntegrity.h |
index 892bb0ba9eded41f17a2d45d60cd9ca8330227c4..ed57376e86328383ca156fc287c15ad9d4fd8bc3 100644 |
--- a/Source/bindings/modules/v8/ModuleBindingsInitializer.h |
+++ b/Source/core/frame/SubresourceIntegrity.h |
@@ -2,14 +2,18 @@ |
// Use of this source code is governed by a BSD-style license that can be |
// found in the LICENSE file. |
-#ifndef ModuleBindingsInitializer_h |
-#define ModuleBindingsInitializer_h |
+#ifndef SubresourceIntegrity_h |
+#define SubresourceIntegrity_h |
+ |
+namespace WTF { |
+class String; |
+}; |
namespace blink { |
-class ModuleBindingsInitializer { |
+class SubresourceIntegrity { |
public: |
- static void init(); |
+ static bool CheckSubresourceIntegrity(const WTF::String& source, const WTF::String& integrity); |
}; |
} // namespace blink |