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/MediaListDirective.h" | 5 #include "core/frame/csp/MediaListDirective.h" |
7 | 6 |
8 #include "core/frame/csp/ContentSecurityPolicy.h" | 7 #include "core/frame/csp/ContentSecurityPolicy.h" |
9 #include "platform/ParsingUtilities.h" | 8 #include "platform/ParsingUtilities.h" |
10 #include "platform/network/ContentSecurityPolicyParsers.h" | 9 #include "platform/network/ContentSecurityPolicyParsers.h" |
11 #include "wtf/HashSet.h" | 10 #include "wtf/HashSet.h" |
12 #include "wtf/text/WTFString.h" | 11 #include "wtf/text/WTFString.h" |
13 | 12 |
14 namespace blink { | 13 namespace blink { |
15 | 14 |
(...skipping 61 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 policy()->reportInvalidPluginTypes(String(begin, position - begin)); | 76 policy()->reportInvalidPluginTypes(String(begin, position - begin)); |
78 continue; | 77 continue; |
79 } | 78 } |
80 m_pluginTypes.add(String(begin, position - begin)); | 79 m_pluginTypes.add(String(begin, position - begin)); |
81 | 80 |
82 ASSERT(position == end || isASCIISpace(*position)); | 81 ASSERT(position == end || isASCIISpace(*position)); |
83 } | 82 } |
84 } | 83 } |
85 | 84 |
86 } // namespace blink | 85 } // namespace blink |
OLD | NEW |