Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(72)

Unified Diff: net/disk_cache/mem_backend_impl.cc

Issue 8956014: base::Bind: Cleanup almost-unused OldCompletionCallbacks. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Win fix. Created 9 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « net/disk_cache/mem_backend_impl.h ('k') | net/http/mock_http_cache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/mem_backend_impl.cc
diff --git a/net/disk_cache/mem_backend_impl.cc b/net/disk_cache/mem_backend_impl.cc
index a5165edb94ed5f5c9f0b960efa6264290b65173f..bd07af2c2007b44ca56bf423b861db39f55e6f76 100644
--- a/net/disk_cache/mem_backend_impl.cc
+++ b/net/disk_cache/mem_backend_impl.cc
@@ -152,13 +152,6 @@ int MemBackendImpl::DoomEntry(const std::string& key,
return net::ERR_FAILED;
}
-int MemBackendImpl::DoomAllEntries(OldCompletionCallback* callback) {
- if (DoomAllEntries())
- return net::OK;
-
- return net::ERR_FAILED;
-}
-
int MemBackendImpl::DoomAllEntries(const net::CompletionCallback& callback) {
if (DoomAllEntries())
return net::OK;
@@ -166,15 +159,6 @@ int MemBackendImpl::DoomAllEntries(const net::CompletionCallback& callback) {
return net::ERR_FAILED;
}
-int MemBackendImpl::DoomEntriesBetween(const base::Time initial_time,
- const base::Time end_time,
- OldCompletionCallback* callback) {
- if (DoomEntriesBetween(initial_time, end_time))
- return net::OK;
-
- return net::ERR_FAILED;
-}
-
int MemBackendImpl::DoomEntriesBetween(
const base::Time initial_time, const base::Time end_time,
const net::CompletionCallback& callback) {
@@ -193,14 +177,6 @@ int MemBackendImpl::DoomEntriesSince(const base::Time initial_time,
}
int MemBackendImpl::OpenNextEntry(void** iter, Entry** next_entry,
- OldCompletionCallback* callback) {
- if (OpenNextEntry(iter, next_entry))
- return net::OK;
-
- return net::ERR_FAILED;
-}
-
-int MemBackendImpl::OpenNextEntry(void** iter, Entry** next_entry,
const net::CompletionCallback& callback) {
if (OpenNextEntry(iter, next_entry))
return net::OK;
« no previous file with comments | « net/disk_cache/mem_backend_impl.h ('k') | net/http/mock_http_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698