diff options
author | rvargas@chromium.org <rvargas@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-04 02:01:20 +0000 |
---|---|---|
committer | rvargas@chromium.org <rvargas@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2011-11-04 02:01:20 +0000 |
commit | 760afa9837be0fb92b2994360743ccac35fe7384 (patch) | |
tree | 5c1a8005f4f360d3ccefd81106304936b38557aa /net/base/load_states.h | |
parent | 8c69c8c74c98c49092b7f39c86e537e6abe8894a (diff) | |
download | chromium_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.h | 6 |
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 |