summaryrefslogtreecommitdiffstats
path: root/chrome/browser/renderer_host/renderer_security_policy.cc
diff options
context:
space:
mode:
authoraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-14 04:09:51 +0000
committeraa@chromium.org <aa@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2009-02-14 04:09:51 +0000
commit27eef9c8edf84061f4e36a3bd26ff7538092a22b (patch)
tree5dd573b70682ce50791f69279c7a68f4ac057eab /chrome/browser/renderer_host/renderer_security_policy.cc
parenta3203585068be4fd840923477c89df4b9b06dd2c (diff)
downloadchromium_src-27eef9c8edf84061f4e36a3bd26ff7538092a22b.zip
chromium_src-27eef9c8edf84061f4e36a3bd26ff7538092a22b.tar.gz
chromium_src-27eef9c8edf84061f4e36a3bd26ff7538092a22b.tar.bz2
Add chrome-extension to the list of "web-safe" schemes for
resource loading. This makes web pages able to refer to resources inside extensions. Review URL: http://codereview.chromium.org/20371 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@9821 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'chrome/browser/renderer_host/renderer_security_policy.cc')
-rw-r--r--chrome/browser/renderer_host/renderer_security_policy.cc1
1 files changed, 1 insertions, 0 deletions
diff --git a/chrome/browser/renderer_host/renderer_security_policy.cc b/chrome/browser/renderer_host/renderer_security_policy.cc
index 108ef61..3350f59 100644
--- a/chrome/browser/renderer_host/renderer_security_policy.cc
+++ b/chrome/browser/renderer_host/renderer_security_policy.cc
@@ -82,6 +82,7 @@ RendererSecurityPolicy::RendererSecurityPolicy() {
RegisterWebSafeScheme("ftp");
RegisterWebSafeScheme("data");
RegisterWebSafeScheme("feed");
+ RegisterWebSafeScheme("chrome-extension");
// We know about the following psuedo schemes and treat them specially.
RegisterPseudoScheme("about");