diff options
author | jeremyim <jeremyim@chromium.org> | 2014-10-29 11:36:46 -0700 |
---|---|---|
committer | Commit bot <commit-bot@chromium.org> | 2014-10-29 18:37:03 +0000 |
commit | 6b5d5af1a22d590a1659e97b1d84102a05acfa0c (patch) | |
tree | 5ade1a1850b08afe0e4e394c30294d08bca8696e /net/base/proxy_delegate.h | |
parent | 9c23a89463b5e957829842df83b340b25dcc77e6 (diff) | |
download | chromium_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.h | 5 |
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, |