summaryrefslogtreecommitdiffstats
path: root/net/base/proxy_delegate.h
diff options
context:
space:
mode:
authorjeremyim <jeremyim@chromium.org>2014-10-29 11:36:46 -0700
committerCommit bot <commit-bot@chromium.org>2014-10-29 18:37:03 +0000
commit6b5d5af1a22d590a1659e97b1d84102a05acfa0c (patch)
tree5ade1a1850b08afe0e4e394c30294d08bca8696e /net/base/proxy_delegate.h
parent9c23a89463b5e957829842df83b340b25dcc77e6 (diff)
downloadchromium_src-6b5d5af1a22d590a1659e97b1d84102a05acfa0c.zip
chromium_src-6b5d5af1a22d590a1659e97b1d84102a05acfa0c.tar.gz
chromium_src-6b5d5af1a22d590a1659e97b1d84102a05acfa0c.tar.bz2
Add data reduction proxy UMA for HTTP connect attempts.
BUG=374264 Review URL: https://codereview.chromium.org/663543002 Cr-Commit-Position: refs/heads/master@{#301888}
Diffstat (limited to 'net/base/proxy_delegate.h')
-rw-r--r--net/base/proxy_delegate.h5
1 files changed, 5 insertions, 0 deletions
diff --git a/net/base/proxy_delegate.h b/net/base/proxy_delegate.h
index c16549c..7e00d0c 100644
--- a/net/base/proxy_delegate.h
+++ b/net/base/proxy_delegate.h
@@ -56,6 +56,11 @@ class NET_EXPORT ProxyDelegate {
virtual void OnBeforeTunnelRequest(const HostPortPair& proxy_server,
HttpRequestHeaders* extra_headers) = 0;
+ // Called when the connect attempt to a CONNECT proxy has completed.
+ virtual void OnTunnelConnectCompleted(const HostPortPair& endpoint,
+ const HostPortPair& proxy_server,
+ int net_error) = 0;
+
// Called after the response headers for the tunnel request are received.
virtual void OnTunnelHeadersReceived(
const HostPortPair& origin,