summaryrefslogtreecommitdiffstats
path: root/content/content_child.gypi
diff options
context:
space:
mode:
authordsjang@chromium.org <dsjang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-23 23:55:37 +0000
committerdsjang@chromium.org <dsjang@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2013-08-23 23:55:37 +0000
commit15b5a54cb34d019f03a621c50757f89396139860 (patch)
treef016cd5a0955620cf517b78de1bf543623ae60ec /content/content_child.gypi
parent63a5a15d632771566fb2f5861e7cb26e5f2357fe (diff)
downloadchromium_src-15b5a54cb34d019f03a621c50757f89396139860.zip
chromium_src-15b5a54cb34d019f03a621c50757f89396139860.tar.gz
chromium_src-15b5a54cb34d019f03a621c50757f89396139860.tar.bz2
UMA data collector for cross-site documents(XSD)
Intercept cross-site documents and apply a couple of blocking filters to measure how our cross-site document blocking policy affects the renderer behavior. This doesn't actually block anything, but just records UMA data about how these filters work. It does three things: 1) whitelists legitimate XSDs (responses with whitelisted mime types or with valid CORS headers) 2) applies an appropriate content sniffing algorithm depending on the mime type of the response, 3) if it is sniffed as a blocked document, reports its status code and the context (img, script, etc) where the request is originally issued to measure the compatibility impact of the blocking. BUG=268640 Related Doc: https://docs.google.com/a/google.com/document/d/1nB3GruRqQmtA7OPZZAhWOsZDvfWpYpKQXE3cxGxTVfs/edit Review URL: https://chromiumcodereview.appspot.com/22254005 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@219383 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content/content_child.gypi')
-rw-r--r--content/content_child.gypi2
1 files changed, 2 insertions, 0 deletions
diff --git a/content/content_child.gypi b/content/content_child.gypi
index 3fe2250..aac52fa 100644
--- a/content/content_child.gypi
+++ b/content/content_child.gypi
@@ -120,6 +120,8 @@
'child/resource_dispatcher.h',
'child/runtime_features.cc',
'child/runtime_features.h',
+ 'child/site_isolation_policy.cc',
+ 'child/site_isolation_policy.h',
'child/socket_stream_dispatcher.cc',
'child/socket_stream_dispatcher.h',
'child/thread_safe_sender.cc',