| 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 "platform/heap/Handle.h" | 8 #include "platform/heap/Handle.h" |
| 9 #include "wtf/text/WTFString.h" | 9 #include "wtf/text/WTFString.h" |
| 10 | 10 |
| (...skipping 14 matching lines...) Expand all Loading... |
| 25 | 25 |
| 26 const String& text() const { return m_text; } | 26 const String& text() const { return m_text; } |
| 27 | 27 |
| 28 protected: | 28 protected: |
| 29 ContentSecurityPolicy* policy() const { return m_policy; } | 29 ContentSecurityPolicy* policy() const { return m_policy; } |
| 30 | 30 |
| 31 private: | 31 private: |
| 32 String m_name; | 32 String m_name; |
| 33 String m_text; | 33 String m_text; |
| 34 // TODO(Oilpan): consider moving ContentSecurityPolicy auxilliary objects to
the heap. | 34 // TODO(Oilpan): consider moving ContentSecurityPolicy auxilliary objects to
the heap. |
| 35 RawPtrWillBeUntracedMember<ContentSecurityPolicy> m_policy; | 35 UntracedMember<ContentSecurityPolicy> m_policy; |
| 36 }; | 36 }; |
| 37 | 37 |
| 38 } // namespace blink | 38 } // namespace blink |
| 39 | 39 |
| 40 #endif | 40 #endif |
| OLD | NEW |