summaryrefslogtreecommitdiffstats
path: root/webkit/glue/resource_loader_bridge.h
diff options
context:
space:
mode:
authormbelshe@chromium.org <mbelshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-10 22:59:07 +0000
committermbelshe@chromium.org <mbelshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-06-10 22:59:07 +0000
commit972ebdffe25655e7eb3c3e9553f8516b38fedb51 (patch)
treec53af37198429f9ceb9b53e5ef7b0db0bb853acc /webkit/glue/resource_loader_bridge.h
parenteefb1d18b254aa26c65bff7135071fb69804e1a4 (diff)
downloadchromium_src-972ebdffe25655e7eb3c3e9553f8516b38fedb51.zip
chromium_src-972ebdffe25655e7eb3c3e9553f8516b38fedb51.tar.gz
chromium_src-972ebdffe25655e7eb3c3e9553f8516b38fedb51.tar.bz2
Track whether a page was loaded via a proxy so that we can
evaluate performance. BUG=none TEST=none Review URL: http://codereview.chromium.org/2764004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@49468 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/glue/resource_loader_bridge.h')
-rw-r--r--webkit/glue/resource_loader_bridge.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/webkit/glue/resource_loader_bridge.h b/webkit/glue/resource_loader_bridge.h
index b78e3a5..7c19af0 100644
--- a/webkit/glue/resource_loader_bridge.h
+++ b/webkit/glue/resource_loader_bridge.h
@@ -127,6 +127,11 @@ class ResourceLoaderBridge {
// True if the response was delivered after NPN is negotiated.
bool was_npn_negotiated;
+
+ // True if the response was fetched via an explicit proxy (as opposed to a
+ // transparent proxy). The proxy could be any type of proxy, HTTP or SOCKS.
+ // Note: we cannot tell if a transparent proxy may have been involved.
+ bool was_fetched_via_proxy;
};
// See the SyncLoad method declared below. (The name of this struct is not