summaryrefslogtreecommitdiffstats
path: root/webkit/appcache/web_application_cache_host_impl.h
diff options
context:
space:
mode:
authormichaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-19 00:49:15 +0000
committermichaeln@google.com <michaeln@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2011-02-19 00:49:15 +0000
commitc034941e26f9e62e7f5c9b58cd7a3f52bac1b1db (patch)
treef30ac577ee0832957e9df113393ab33e307b6697 /webkit/appcache/web_application_cache_host_impl.h
parent2f69b38816cc86ffff8c255a6984376e2aa02c10 (diff)
downloadchromium_src-c034941e26f9e62e7f5c9b58cd7a3f52bac1b1db.zip
chromium_src-c034941e26f9e62e7f5c9b58cd7a3f52bac1b1db.tar.gz
chromium_src-c034941e26f9e62e7f5c9b58cd7a3f52bac1b1db.tar.bz2
Defend against selectCache() being called multiple times. There is a bug filed upstream to fix the HTML parser such that
it won't generate multiple calls to this, but given the complexity of the parser I'm putting this defense directly in the appcache system. BUG=72986,73118 TEST=manually run Poppit Review URL: http://codereview.chromium.org/6546004 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@75481 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'webkit/appcache/web_application_cache_host_impl.h')
-rw-r--r--webkit/appcache/web_application_cache_host_impl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/webkit/appcache/web_application_cache_host_impl.h b/webkit/appcache/web_application_cache_host_impl.h
index 4304783..c7af54a 100644
--- a/webkit/appcache/web_application_cache_host_impl.h
+++ b/webkit/appcache/web_application_cache_host_impl.h
@@ -75,6 +75,7 @@ class WebApplicationCacheHostImpl : public WebKit::WebApplicationCacheHost {
IsNewMasterEntry is_new_master_entry_;
appcache::AppCacheInfo cache_info_;
GURL original_main_resource_url_; // Used to detect redirection.
+ bool was_select_cache_called_;
};
} // namespace