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 #include "config.h" | |
6 #include "core/frame/csp/CSPSource.h" | 5 #include "core/frame/csp/CSPSource.h" |
7 | 6 |
8 #include "core/frame/UseCounter.h" | 7 #include "core/frame/UseCounter.h" |
9 #include "core/frame/csp/ContentSecurityPolicy.h" | 8 #include "core/frame/csp/ContentSecurityPolicy.h" |
10 #include "platform/weborigin/KURL.h" | 9 #include "platform/weborigin/KURL.h" |
11 #include "platform/weborigin/KnownPorts.h" | 10 #include "platform/weborigin/KnownPorts.h" |
12 #include "platform/weborigin/SecurityOrigin.h" | 11 #include "platform/weborigin/SecurityOrigin.h" |
13 #include "wtf/text/WTFString.h" | 12 #include "wtf/text/WTFString.h" |
14 | 13 |
15 namespace blink { | 14 namespace blink { |
(...skipping 84 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
100 | 99 |
101 return false; | 100 return false; |
102 } | 101 } |
103 | 102 |
104 bool CSPSource::isSchemeOnly() const | 103 bool CSPSource::isSchemeOnly() const |
105 { | 104 { |
106 return m_host.isEmpty(); | 105 return m_host.isEmpty(); |
107 } | 106 } |
108 | 107 |
109 } // namespace | 108 } // namespace |
OLD | NEW |