summaryrefslogtreecommitdiffstats
path: root/webkit/appcache/appcache_request_handler.h
diff options
context:
space:
mode:
authormichaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-25 21:38:20 +0000
committermichaeln@chromium.org <michaeln@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2010-08-25 21:38:20 +0000
commit1e1f7d57ce439e571ba0497059a9175873b8ce22 (patch)
treefbfb482087c7384a0f4dc777d1400415568e7c63 /webkit/appcache/appcache_request_handler.h
parent144d381bffe572747715961f5380997db326806a (diff)
downloadchromium_src-1e1f7d57ce439e571ba0497059a9175873b8ce22.zip
chromium_src-1e1f7d57ce439e571ba0497059a9175873b8ce22.tar.gz
chromium_src-1e1f7d57ce439e571ba0497059a9175873b8ce22.tar.bz2
Be a little more defensive when encoutering missing appcache entries, the handler that discovers a missing entry will not attempt to intercept anything else.
BUG=50657 TEST=none Review URL: http://codereview.chromium.org/3177032 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@57395 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/appcache/appcache_request_handler.h')
-rw-r--r--webkit/appcache/appcache_request_handler.h6
1 files changed, 6 insertions, 0 deletions
diff --git a/webkit/appcache/appcache_request_handler.h b/webkit/appcache/appcache_request_handler.h
index 0910dee..3a19a8f 100644
--- a/webkit/appcache/appcache_request_handler.h
+++ b/webkit/appcache/appcache_request_handler.h
@@ -104,6 +104,12 @@ class AppCacheRequestHandler : public URLRequest::UserData,
GURL found_manifest_url_;
bool found_network_namespace_;
+ // True if a cache entry this handler attempted to return was
+ // not found in the disk cache. Once set, the handler will take
+ // no action on all subsequent intercept opportunities, so the
+ // request and any redirects will be handled by the network library.
+ bool cache_entry_not_found_;
+
// The job we use to deliver a response.
scoped_refptr<AppCacheURLRequestJob> job_;