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 15 matching lines...) Expand all Loading... |
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 "FormDataList.h" | 32 #include "FormDataList.h" |
33 #include "Frame.h" | 33 #include "Frame.h" |
34 #include "InspectorInstrumentation.h" | 34 #include "InspectorInstrumentation.h" |
35 #include "InspectorValues.h" | 35 #include "InspectorValues.h" |
36 #include "KURL.h" | |
37 #include "PageConsole.h" | 36 #include "PageConsole.h" |
38 #include "PingLoader.h" | 37 #include "PingLoader.h" |
39 #include "RuntimeEnabledFeatures.h" | 38 #include "RuntimeEnabledFeatures.h" |
40 #include "SchemeRegistry.h" | |
41 #include "ScriptCallStack.h" | 39 #include "ScriptCallStack.h" |
42 #include "ScriptCallStackFactory.h" | 40 #include "ScriptCallStackFactory.h" |
43 #include "ScriptState.h" | 41 #include "ScriptState.h" |
44 #include "SecurityOrigin.h" | 42 #include "SecurityOrigin.h" |
45 #include "SecurityPolicyViolationEvent.h" | 43 #include "SecurityPolicyViolationEvent.h" |
46 #include "UseCounter.h" | 44 #include "UseCounter.h" |
| 45 #include "core/platform/KURL.h" |
| 46 #include "core/platform/SchemeRegistry.h" |
47 #include "core/platform/network/FormData.h" | 47 #include "core/platform/network/FormData.h" |
48 #include "core/platform/text/TextEncoding.h" | 48 #include "core/platform/text/TextEncoding.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 |
(...skipping 1827 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 |