diff options
author | mhm@chromium.org <mhm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-21 13:50:03 +0000 |
---|---|---|
committer | mhm@chromium.org <mhm@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2009-10-21 13:50:03 +0000 |
commit | 762a91816bcce1e9d406251ec0db132e645bacad (patch) | |
tree | a41b735b49c41d7816b052b32194132a23272411 /webkit/webkit.gyp | |
parent | 873747dcd2c508c5e6d76c02ee201492f48b504f (diff) | |
download | chromium_src-762a91816bcce1e9d406251ec0db132e645bacad.zip chromium_src-762a91816bcce1e9d406251ec0db132e645bacad.tar.gz chromium_src-762a91816bcce1e9d406251ec0db132e645bacad.tar.bz2 |
Introduce WebSecurityPolicy for security related methods.
Move security related methods out of WebKit.h into its own class WebSecurityPolicy. This involves these functions:
- registerURLSchemeAsLocal
- registerURLSchemeAsNoAccess
- whiteListAccessFromOrigin
- resetOriginAccessWhiteLists
BUG=24601
TEST=Compiled locally, try bot'ed.
Review URL: http://codereview.chromium.org/293021
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@29639 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/webkit.gyp')
-rw-r--r-- | webkit/webkit.gyp | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/webkit/webkit.gyp b/webkit/webkit.gyp index 927463a..34fe489 100644 --- a/webkit/webkit.gyp +++ b/webkit/webkit.gyp @@ -135,6 +135,7 @@ 'api/public/WebScriptController.h', 'api/public/WebScriptSource.h', 'api/public/WebSecurityOrigin.h', + 'api/public/WebSecurityPolicy.h', 'api/public/WebSettings.h', 'api/public/WebSize.h', 'api/public/WebSocketStreamError.h', @@ -230,6 +231,7 @@ 'api/src/WebRange.cpp', 'api/src/WebScriptController.cpp', 'api/src/WebSecurityOrigin.cpp', + 'api/src/WebSecurityPolicy.cpp', 'api/src/WebSettingsImpl.cpp', 'api/src/WebSettingsImpl.h', 'api/src/WebStorageAreaImpl.cpp', |