| OLD | NEW |
| 1 /* | 1 /* |
| 2 * Copyright (C) 2011 Google, Inc. All rights reserved. | 2 * Copyright (C) 2011 Google, Inc. All rights reserved. |
| 3 * | 3 * |
| 4 * Redistribution and use in source and binary forms, with or without | 4 * Redistribution and use in source and binary forms, with or without |
| 5 * modification, are permitted provided that the following conditions | 5 * modification, are permitted provided that the following conditions |
| 6 * are met: | 6 * are met: |
| 7 * 1. Redistributions of source code must retain the above copyright | 7 * 1. Redistributions of source code must retain the above copyright |
| 8 * notice, this list of conditions and the following disclaimer. | 8 * notice, this list of conditions and the following disclaimer. |
| 9 * 2. Redistributions in binary form must reproduce the above copyright | 9 * 2. Redistributions in binary form must reproduce the above copyright |
| 10 * notice, this list of conditions and the following disclaimer in the | 10 * notice, this list of conditions and the following disclaimer in the |
| (...skipping 11 matching lines...) Expand all Loading... |
| 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE | 22 * (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE |
| 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. | 23 * OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. |
| 24 */ | 24 */ |
| 25 | 25 |
| 26 #include "config.h" | 26 #include "config.h" |
| 27 #include "ContentSecurityPolicy.h" | 27 #include "ContentSecurityPolicy.h" |
| 28 | 28 |
| 29 #include "Console.h" | 29 #include "Console.h" |
| 30 #include "DOMStringList.h" | 30 #include "DOMStringList.h" |
| 31 #include "Document.h" | 31 #include "Document.h" |
| 32 #include "UseCounter.h" | |
| 33 #include "FormData.h" | |
| 34 #include "FormDataList.h" | 32 #include "FormDataList.h" |
| 35 #include "Frame.h" | 33 #include "Frame.h" |
| 36 #include "InspectorInstrumentation.h" | 34 #include "InspectorInstrumentation.h" |
| 37 #include "InspectorValues.h" | 35 #include "InspectorValues.h" |
| 38 #include "KURL.h" | 36 #include "KURL.h" |
| 39 #include "PageConsole.h" | 37 #include "PageConsole.h" |
| 40 #include "PingLoader.h" | 38 #include "PingLoader.h" |
| 41 #include "RuntimeEnabledFeatures.h" | 39 #include "RuntimeEnabledFeatures.h" |
| 42 #include "SchemeRegistry.h" | 40 #include "SchemeRegistry.h" |
| 43 #include "ScriptCallStack.h" | 41 #include "ScriptCallStack.h" |
| 44 #include "ScriptCallStackFactory.h" | 42 #include "ScriptCallStackFactory.h" |
| 45 #include "ScriptState.h" | 43 #include "ScriptState.h" |
| 46 #include "SecurityOrigin.h" | 44 #include "SecurityOrigin.h" |
| 47 #include "SecurityPolicyViolationEvent.h" | 45 #include "SecurityPolicyViolationEvent.h" |
| 48 #include "TextEncoding.h" | 46 #include "TextEncoding.h" |
| 47 #include "UseCounter.h" |
| 48 #include "core/platform/network/FormData.h" |
| 49 #include <wtf/HashSet.h> | 49 #include <wtf/HashSet.h> |
| 50 #include <wtf/text/TextPosition.h> | 50 #include <wtf/text/TextPosition.h> |
| 51 #include <wtf/text/WTFString.h> | 51 #include <wtf/text/WTFString.h> |
| 52 | 52 |
| 53 namespace WebCore { | 53 namespace WebCore { |
| 54 | 54 |
| 55 // Normally WebKit uses "static" for internal linkage, but using "static" for | 55 // Normally WebKit uses "static" for internal linkage, but using "static" for |
| 56 // these functions causes a compile error because these functions are used as | 56 // these functions causes a compile error because these functions are used as |
| 57 // template parameters. | 57 // template parameters. |
| 58 namespace { | 58 namespace { |
| (...skipping 1825 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
| 1884 { | 1884 { |
| 1885 InspectorInstrumentation::scriptExecutionBlockedByCSP(m_scriptExecutionConte
xt, directiveText); | 1885 InspectorInstrumentation::scriptExecutionBlockedByCSP(m_scriptExecutionConte
xt, directiveText); |
| 1886 } | 1886 } |
| 1887 | 1887 |
| 1888 bool ContentSecurityPolicy::experimentalFeaturesEnabled() const | 1888 bool ContentSecurityPolicy::experimentalFeaturesEnabled() const |
| 1889 { | 1889 { |
| 1890 return RuntimeEnabledFeatures::experimentalContentSecurityPolicyFeaturesEnab
led(); | 1890 return RuntimeEnabledFeatures::experimentalContentSecurityPolicyFeaturesEnab
led(); |
| 1891 } | 1891 } |
| 1892 | 1892 |
| 1893 } | 1893 } |
| OLD | NEW |