summaryrefslogtreecommitdiffstats
path: root/net/base/load_states.h
diff options
context:
space:
mode:
authorrvargas@chromium.org <rvargas@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-04 02:01:20 +0000
committerrvargas@chromium.org <rvargas@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-11-04 02:01:20 +0000
commit760afa9837be0fb92b2994360743ccac35fe7384 (patch)
tree5c1a8005f4f360d3ccefd81106304936b38557aa /net/base/load_states.h
parent8c69c8c74c98c49092b7f39c86e537e6abe8894a (diff)
downloadchromium_src-760afa9837be0fb92b2994360743ccac35fe7384.zip
chromium_src-760afa9837be0fb92b2994360743ccac35fe7384.tar.gz
chromium_src-760afa9837be0fb92b2994360743ccac35fe7384.tar.bz2
Add a LoadState for the AppCache
BUG=101972 TEST=none Review URL: http://codereview.chromium.org/8351047 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@108611 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/base/load_states.h')
-rw-r--r--net/base/load_states.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/net/base/load_states.h b/net/base/load_states.h
index 91b0b6b..b5ca6a8 100644
--- a/net/base/load_states.h
+++ b/net/base/load_states.h
@@ -33,6 +33,12 @@ enum LoadState {
// the first completes. This may be done to optimize for cache reuse.
LOAD_STATE_WAITING_FOR_CACHE,
+ // This state corresponds to a resource load that is blocked waiting for
+ // access to a resource in the AppCache.
+ // Note: This is a layering violation, but being the only one it's not that
+ // bad. TODO(rvargas): Reconsider what to do if we need to add more.
+ LOAD_STATE_WAITING_FOR_APPCACHE,
+
// This state corresponds to a resource load that is blocked waiting for a
// proxy autoconfig script to return a proxy server to use. This state may
// take a while if the proxy script needs to resolve the IP address of the