summaryrefslogtreecommitdiffstats
path: root/net/base/load_states.h
diff options
context:
space:
mode:
authormbelshe@chromium.org <mbelshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-25 19:25:04 +0000
committermbelshe@chromium.org <mbelshe@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-05-25 19:25:04 +0000
commit8a1f331497a81bb929ab75a3cfc8b1b835e21bcd (patch)
treee608c6f36c92c0446ebf01899920d2b7d66f619f /net/base/load_states.h
parent6b8ab84aa5133fdb73add7ba1771559cbc3ffd4c (diff)
downloadchromium_src-8a1f331497a81bb929ab75a3cfc8b1b835e21bcd.zip
chromium_src-8a1f331497a81bb929ab75a3cfc8b1b835e21bcd.tar.gz
chromium_src-8a1f331497a81bb929ab75a3cfc8b1b835e21bcd.tar.bz2
Eliminate the establishing_tunnel_ internal state and move to explicit
states in the state machine for proxy tunnel establishment. Original work from svandebo. BUG=none TEST=existing Review URL: http://codereview.chromium.org/2101014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@48173 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/load_states.h')
-rw-r--r--net/base/load_states.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/net/base/load_states.h b/net/base/load_states.h
index 9555be9..cce9781 100644
--- a/net/base/load_states.h
+++ b/net/base/load_states.h
@@ -29,6 +29,10 @@ enum LoadState {
// host before deciding what proxy to use.
LOAD_STATE_RESOLVING_PROXY_FOR_URL,
+ // This state indicates that we're in the process of establishing a tunnel
+ // through the proxy server.
+ LOAD_STATE_ESTABLISHING_PROXY_TUNNEL,
+
// This state corresponds to a resource load that is blocked waiting for a
// host name to be resolved. This could either indicate resolution of the
// origin server corresponding to the resource or to the host name of a proxy