| 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 CSPSource_h | 5 #ifndef CSPSource_h |
| 6 #define CSPSource_h | 6 #define CSPSource_h |
| 7 | 7 |
| 8 #include "core/CoreExport.h" | 8 #include "core/CoreExport.h" |
| 9 #include "core/frame/csp/ContentSecurityPolicy.h" | 9 #include "core/frame/csp/ContentSecurityPolicy.h" |
| 10 #include "platform/heap/Handle.h" | 10 #include "platform/heap/Handle.h" |
| 11 #include "platform/loader/fetch/ResourceRequest.h" | 11 #include "platform/loader/fetch/ResourceRequest.h" |
| 12 #include "platform/wtf/Allocator.h" |
| 13 #include "platform/wtf/text/WTFString.h" |
| 12 #include "public/platform/WebContentSecurityPolicyStruct.h" | 14 #include "public/platform/WebContentSecurityPolicyStruct.h" |
| 13 #include "wtf/Allocator.h" | |
| 14 #include "wtf/text/WTFString.h" | |
| 15 | 15 |
| 16 namespace blink { | 16 namespace blink { |
| 17 | 17 |
| 18 class ContentSecurityPolicy; | 18 class ContentSecurityPolicy; |
| 19 class KURL; | 19 class KURL; |
| 20 | 20 |
| 21 class CORE_EXPORT CSPSource : public GarbageCollectedFinalized<CSPSource> { | 21 class CORE_EXPORT CSPSource : public GarbageCollectedFinalized<CSPSource> { |
| 22 public: | 22 public: |
| 23 enum WildcardDisposition { kNoWildcard, kHasWildcard }; | 23 enum WildcardDisposition { kNoWildcard, kHasWildcard }; |
| 24 | 24 |
| (...skipping 83 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 108 int port_; | 108 int port_; |
| 109 String path_; | 109 String path_; |
| 110 | 110 |
| 111 WildcardDisposition host_wildcard_; | 111 WildcardDisposition host_wildcard_; |
| 112 WildcardDisposition port_wildcard_; | 112 WildcardDisposition port_wildcard_; |
| 113 }; | 113 }; |
| 114 | 114 |
| 115 } // namespace blink | 115 } // namespace blink |
| 116 | 116 |
| 117 #endif | 117 #endif |
| OLD | NEW |