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

Unified Diff: net/http/mock_http_cache.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/http/mock_http_cache.h ('k') | net/tools/dump_cache/upgrade.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/http/mock_http_cache.cc
diff --git a/net/http/mock_http_cache.cc b/net/http/mock_http_cache.cc
index 19c615492676881903b4799712fd0ede277c0493..5fe148ebddf7a4ce460d75175a7fae446dfc3d02 100644
--- a/net/http/mock_http_cache.cc
+++ b/net/http/mock_http_cache.cc
@@ -438,22 +438,12 @@ int MockDiskCache::DoomEntry(const std::string& key,
return net::ERR_IO_PENDING;
}
-int MockDiskCache::DoomAllEntries(net::OldCompletionCallback* callback) {
- return net::ERR_NOT_IMPLEMENTED;
-}
-
int MockDiskCache::DoomAllEntries(const net::CompletionCallback& callback) {
return net::ERR_NOT_IMPLEMENTED;
}
int MockDiskCache::DoomEntriesBetween(const base::Time initial_time,
const base::Time end_time,
- net::OldCompletionCallback* callback) {
- return net::ERR_NOT_IMPLEMENTED;
-}
-
-int MockDiskCache::DoomEntriesBetween(const base::Time initial_time,
- const base::Time end_time,
const net::CompletionCallback& callback) {
return net::ERR_NOT_IMPLEMENTED;
}
@@ -464,11 +454,6 @@ int MockDiskCache::DoomEntriesSince(const base::Time initial_time,
}
int MockDiskCache::OpenNextEntry(void** iter, disk_cache::Entry** next_entry,
- net::OldCompletionCallback* callback) {
- return net::ERR_NOT_IMPLEMENTED;
-}
-
-int MockDiskCache::OpenNextEntry(void** iter, disk_cache::Entry** next_entry,
const net::CompletionCallback& callback) {
return net::ERR_NOT_IMPLEMENTED;
}
« no previous file with comments | « net/http/mock_http_cache.h ('k') | net/tools/dump_cache/upgrade.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698