summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/backend_impl.cc
diff options
context:
space:
mode:
authorjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-15 19:10:19 +0000
committerjhawkins@chromium.org <jhawkins@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>2011-12-15 19:10:19 +0000
commit6ad7c091107a70f13d7887d28c23abf4e6d75f55 (patch)
tree11ec73aa20cd797aef377249be20eab1b2b0809b /net/disk_cache/backend_impl.cc
parent8682489dd336c58a99ff60b5709d701d012436d5 (diff)
downloadchromium_src-6ad7c091107a70f13d7887d28c23abf4e6d75f55.zip
chromium_src-6ad7c091107a70f13d7887d28c23abf4e6d75f55.tar.gz
chromium_src-6ad7c091107a70f13d7887d28c23abf4e6d75f55.tar.bz2
base::Bind: Cleanup almost-unused OldCompletionCallbacks.
BUG=none TEST=none R=dpapad Review URL: http://codereview.chromium.org/8956014 git-svn-id: svn://svn.chromium.org/chrome/trunk/src@114674 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'net/disk_cache/backend_impl.cc')
-rw-r--r--net/disk_cache/backend_impl.cc21
1 files changed, 0 insertions, 21 deletions
diff --git a/net/disk_cache/backend_impl.cc b/net/disk_cache/backend_impl.cc
index 1443f7f..2cc2f3a 100644
--- a/net/disk_cache/backend_impl.cc
+++ b/net/disk_cache/backend_impl.cc
@@ -1395,12 +1395,6 @@ int BackendImpl::DoomEntry(const std::string& key,
return net::ERR_IO_PENDING;
}
-int BackendImpl::DoomAllEntries(OldCompletionCallback* callback) {
- DCHECK(callback);
- background_queue_.DoomAllEntries(callback);
- return net::ERR_IO_PENDING;
-}
-
int BackendImpl::DoomAllEntries(const net::CompletionCallback& callback) {
DCHECK(!callback.is_null());
background_queue_.DoomAllEntries(callback);
@@ -1409,14 +1403,6 @@ int BackendImpl::DoomAllEntries(const net::CompletionCallback& callback) {
int BackendImpl::DoomEntriesBetween(const base::Time initial_time,
const base::Time end_time,
- OldCompletionCallback* callback) {
- DCHECK(callback);
- background_queue_.DoomEntriesBetween(initial_time, end_time, callback);
- return net::ERR_IO_PENDING;
-}
-
-int BackendImpl::DoomEntriesBetween(const base::Time initial_time,
- const base::Time end_time,
const net::CompletionCallback& callback) {
DCHECK(!callback.is_null());
background_queue_.DoomEntriesBetween(initial_time, end_time, callback);
@@ -1431,13 +1417,6 @@ int BackendImpl::DoomEntriesSince(const base::Time initial_time,
}
int BackendImpl::OpenNextEntry(void** iter, Entry** next_entry,
- OldCompletionCallback* callback) {
- DCHECK(callback);
- background_queue_.OpenNextEntry(iter, next_entry, callback);
- return net::ERR_IO_PENDING;
-}
-
-int BackendImpl::OpenNextEntry(void** iter, Entry** next_entry,
const net::CompletionCallback& callback) {
DCHECK(!callback.is_null());
background_queue_.OpenNextEntry(iter, next_entry, callback);