Move ContentSecurityPolicy.{cpp, h} to its own directory
authordbates@webkit.org <dbates@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 28 Jan 2016 01:08:03 +0000 (01:08 +0000)
committerdbates@webkit.org <dbates@webkit.org@268f45cc-cd09-0410-ab3c-d52691b4dbfc>
Thu, 28 Jan 2016 01:08:03 +0000 (01:08 +0000)
commit0c68235aeb1da4867b08454c3f2bca7496492cf8
tree99d79bfa172a899f2142cef856f62635986c05d6
parent7fca2ee83fbd5c26175626ed79e0cfa23a501d79
Move ContentSecurityPolicy.{cpp, h} to its own directory
https://bugs.webkit.org/show_bug.cgi?id=153527
<rdar://problem/24359892>

Reviewed by Sam Weinig.

Source/WebCore:

Move ContentSecurityPolicy.{cpp, h} from Source/WebCore/page to Source/WebCore/page/csp.
This will facilitate separating out the policy support classes (e.g. CSPDirectiveList)
into their own files to improve the hackability of this code.

* CMakeLists.txt:
* WebCore.vcxproj/WebCore.vcxproj:
* WebCore.vcxproj/WebCore.vcxproj.filters:
* WebCore.xcodeproj/project.pbxproj:
* page/csp/ContentSecurityPolicy.cpp: Renamed from Source/WebCore/page/ContentSecurityPolicy.cpp.
* page/csp/ContentSecurityPolicy.h: Renamed from Source/WebCore/page/ContentSecurityPolicy.h.

Source/WebKit2:

Add ${WEBCORE_DIR}/page/csp to the list of WebKit2 include directories.

* CMakeLists.txt:

git-svn-id: https://svn.webkit.org/repository/webkit/trunk@195711 268f45cc-cd09-0410-ab3c-d52691b4dbfc
Source/WebCore/CMakeLists.txt
Source/WebCore/ChangeLog
Source/WebCore/WebCore.vcxproj/WebCore.vcxproj
Source/WebCore/WebCore.vcxproj/WebCore.vcxproj.filters
Source/WebCore/WebCore.xcodeproj/project.pbxproj
Source/WebCore/page/csp/ContentSecurityPolicy.cpp [moved from Source/WebCore/page/ContentSecurityPolicy.cpp with 100% similarity]
Source/WebCore/page/csp/ContentSecurityPolicy.h [moved from Source/WebCore/page/ContentSecurityPolicy.h with 100% similarity]
Source/WebKit2/CMakeLists.txt
Source/WebKit2/ChangeLog