summaryrefslogtreecommitdiffstats
path: root/chromium/webkit/browser/appcache/appcache_disk_cache.h
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/webkit/browser/appcache/appcache_disk_cache.h')
-rw-r--r--chromium/webkit/browser/appcache/appcache_disk_cache.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/chromium/webkit/browser/appcache/appcache_disk_cache.h b/chromium/webkit/browser/appcache/appcache_disk_cache.h
index bb1495cf597..d9f27d0fb09 100644
--- a/chromium/webkit/browser/appcache/appcache_disk_cache.h
+++ b/chromium/webkit/browser/appcache/appcache_disk_cache.h
@@ -75,6 +75,7 @@ class WEBKIT_STORAGE_BROWSER_EXPORT AppCacheDiskCache
class ActiveCall;
typedef std::set<ActiveCall*> ActiveCalls;
+ typedef std::set<EntryImpl*> OpenEntries;
bool is_initializing() const {
return create_backend_callback_.get() != NULL;
@@ -86,12 +87,15 @@ class WEBKIT_STORAGE_BROWSER_EXPORT AppCacheDiskCache
void OnCreateBackendComplete(int rv);
void AddActiveCall(ActiveCall* call) { active_calls_.insert(call); }
void RemoveActiveCall(ActiveCall* call) { active_calls_.erase(call); }
+ void AddOpenEntry(EntryImpl* entry) { open_entries_.insert(entry); }
+ void RemoveOpenEntry(EntryImpl* entry) { open_entries_.erase(entry); }
bool is_disabled_;
net::CompletionCallback init_callback_;
scoped_refptr<CreateBackendCallbackShim> create_backend_callback_;
PendingCalls pending_calls_;
ActiveCalls active_calls_;
+ OpenEntries open_entries_;
scoped_ptr<disk_cache::Backend> disk_cache_;
};