Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(222)

Side by Side Diff: Source/core/frame/SubresourceIntegrity.h

Issue 566083003: Implementation of subresource integrity attribute for secure origins. (Closed) Base URL: https://chromium.googlesource.com/chromium/blink.git@master
Patch Set: Block resources at insecure origins Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698