summaryrefslogtreecommitdiff
path: root/chromium/content/browser/appcache/appcache_host.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/content/browser/appcache/appcache_host.h')
-rw-r--r--chromium/content/browser/appcache/appcache_host.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chromium/content/browser/appcache/appcache_host.h b/chromium/content/browser/appcache/appcache_host.h
index 7525ea2f7b8..f43952006f7 100644
--- a/chromium/content/browser/appcache/appcache_host.h
+++ b/chromium/content/browser/appcache/appcache_host.h
@@ -163,6 +163,7 @@ class CONTENT_EXPORT AppCacheHost
AppCacheStorage* storage() const { return storage_; }
AppCacheFrontend* frontend() const { return frontend_; }
AppCache* associated_cache() const { return associated_cache_.get(); }
+ bool was_select_cache_called() const { return was_select_cache_called_; }
void enable_cache_selection(bool enable) {
is_cache_selection_enabled_ = enable;
@@ -269,6 +270,9 @@ class CONTENT_EXPORT AppCacheHost
int64 pending_selected_cache_id_;
GURL pending_selected_manifest_url_;
+ // Used to defend against bad IPC messages.
+ bool was_select_cache_called_;
+
// Used to avoid stepping on pages controlled by ServiceWorkers.
bool is_cache_selection_enabled_;