summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/backend_impl.h
diff options
context:
space:
mode:
authorrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-14 01:30:53 +0000
committerrvargas@google.com <rvargas@google.com@0039d316-1c4b-4281-b951-d872f2087c98>2010-01-14 01:30:53 +0000
commit7d7ad6e4439730c800ed8de654378683f587ee3a (patch)
tree8912f0d50a86565e62623c1a806c3869f90be90a /net/disk_cache/backend_impl.h
parent56ee3109efdf0eae868fc75fc52c64a226d40579 (diff)
downloadchromium_src-7d7ad6e4439730c800ed8de654378683f587ee3a.zip
chromium_src-7d7ad6e4439730c800ed8de654378683f587ee3a.tar.gz
chromium_src-7d7ad6e4439730c800ed8de654378683f587ee3a.tar.bz2
Http Cache: Use asynchronous Open/Create/Doom entry calls.
More changes to the state machine: now we really issue asynchronous calls when getting new cache entries. We have to add a new serialization mechanism to the http cache in order to handle races among multiple requests creating and opening the same entry. BUG=26729 TEST=unittests Review URL: http://codereview.chromium.org/523019 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@36211 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache/backend_impl.h')
-rw-r--r--net/disk_cache/backend_impl.h1
1 files changed, 1 insertions, 0 deletions
diff --git a/net/disk_cache/backend_impl.h b/net/disk_cache/backend_impl.h
index b9a288f..6267fac 100644
--- a/net/disk_cache/backend_impl.h
+++ b/net/disk_cache/backend_impl.h
@@ -68,6 +68,7 @@ class BackendImpl : public Backend {
virtual int CreateEntry(const std::string& key, Entry** entry,
CompletionCallback* callback);
virtual bool DoomEntry(const std::string& key);
+ virtual int DoomEntry(const std::string& key, CompletionCallback* callback);
virtual bool DoomAllEntries();
virtual int DoomAllEntries(CompletionCallback* callback);
virtual bool DoomEntriesBetween(const base::Time initial_time,