| 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 ModuleBindingsInitializer_h | 5 #ifndef SubresourceIntegrity_h |
| 6 #define ModuleBindingsInitializer_h | 6 #define SubresourceIntegrity_h |
| 7 |
| 8 namespace WTF { |
| 9 class String; |
| 10 }; |
| 7 | 11 |
| 8 namespace blink { | 12 namespace blink { |
| 9 | 13 |
| 10 class ModuleBindingsInitializer { | 14 class SubresourceIntegrity { |
| 11 public: | 15 public: |
| 12 static void init(); | 16 static bool CheckSubresourceIntegrity(const WTF::String& source, const WTF::
String& integrity); |
| 13 }; | 17 }; |
| 14 | 18 |
| 15 } // namespace blink | 19 } // namespace blink |
| 16 | 20 |
| 17 #endif | 21 #endif |
| OLD | NEW |