summaryrefslogtreecommitdiffstats
path: root/webkit
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 /webkit
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 'webkit')
-rw-r--r--webkit/child/resource_loader_bridge.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/webkit/child/resource_loader_bridge.h b/webkit/child/resource_loader_bridge.h
index 9d51b62..160bc84 100644
--- a/webkit/child/resource_loader_bridge.h
+++ b/webkit/child/resource_loader_bridge.h
@@ -127,7 +127,7 @@ class ResourceLoaderBridge {
// These callbacks mirror net::URLRequest::Delegate and the order and
// conditions in which they will be called are identical. See url_request.h
// for more information.
- class Peer {
+ class WEBKIT_CHILD_EXPORT Peer {
public:
// Called as upload progress is made.
// note: only for requests with LOAD_ENABLE_UPLOAD_PROGRESS set