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 CSPDirective_h | 5 #ifndef CSPDirective_h |
6 #define CSPDirective_h | 6 #define CSPDirective_h |
7 | 7 |
8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
9 #include "platform/heap/Handle.h" | 9 #include "platform/heap/Handle.h" |
10 #include "wtf/text/WTFString.h" | 10 #include "platform/wtf/text/WTFString.h" |
11 | 11 |
12 namespace blink { | 12 namespace blink { |
13 | 13 |
14 class ContentSecurityPolicy; | 14 class ContentSecurityPolicy; |
15 | 15 |
16 class CORE_EXPORT CSPDirective | 16 class CORE_EXPORT CSPDirective |
17 : public GarbageCollectedFinalized<CSPDirective> { | 17 : public GarbageCollectedFinalized<CSPDirective> { |
18 WTF_MAKE_NONCOPYABLE(CSPDirective); | 18 WTF_MAKE_NONCOPYABLE(CSPDirective); |
19 | 19 |
20 public: | 20 public: |
(...skipping 12 matching lines...) Expand all Loading... |
33 | 33 |
34 private: | 34 private: |
35 String name_; | 35 String name_; |
36 String text_; | 36 String text_; |
37 Member<ContentSecurityPolicy> policy_; | 37 Member<ContentSecurityPolicy> policy_; |
38 }; | 38 }; |
39 | 39 |
40 } // namespace blink | 40 } // namespace blink |
41 | 41 |
42 #endif | 42 #endif |
OLD | NEW |