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

Unified Diff: net/disk_cache/backend_impl.cc

Issue 8832006: Reverts a commit that caused ASAN failures, and 2 dependent commits. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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/backend_impl.h ('k') | net/disk_cache/disk_cache.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/backend_impl.cc
diff --git a/net/disk_cache/backend_impl.cc b/net/disk_cache/backend_impl.cc
index d452f22234082a9230a76201c6becc1cec24de61..14a27228624c6668ba7670cb0f416de342459521 100644
--- a/net/disk_cache/backend_impl.cc
+++ b/net/disk_cache/backend_impl.cc
@@ -1381,13 +1381,6 @@ int BackendImpl::OpenEntry(const std::string& key, Entry** entry,
return net::ERR_IO_PENDING;
}
-int BackendImpl::OpenEntry(const std::string& key, Entry** entry,
- const net::CompletionCallback& callback) {
- DCHECK(!callback.is_null());
- background_queue_.OpenEntry(key, entry, callback);
- return net::ERR_IO_PENDING;
-}
-
int BackendImpl::CreateEntry(const std::string& key, Entry** entry,
OldCompletionCallback* callback) {
DCHECK(callback);
@@ -1395,13 +1388,6 @@ int BackendImpl::CreateEntry(const std::string& key, Entry** entry,
return net::ERR_IO_PENDING;
}
-int BackendImpl::CreateEntry(const std::string& key, Entry** entry,
- const net::CompletionCallback& callback) {
- DCHECK(!callback.is_null());
- background_queue_.CreateEntry(key, entry, callback);
- return net::ERR_IO_PENDING;
-}
-
int BackendImpl::DoomEntry(const std::string& key,
OldCompletionCallback* callback) {
DCHECK(callback);
@@ -1415,12 +1401,6 @@ int BackendImpl::DoomAllEntries(OldCompletionCallback* callback) {
return net::ERR_IO_PENDING;
}
-int BackendImpl::DoomAllEntries(const net::CompletionCallback& callback) {
- DCHECK(!callback.is_null());
- background_queue_.DoomAllEntries(callback);
- return net::ERR_IO_PENDING;
-}
-
int BackendImpl::DoomEntriesBetween(const base::Time initial_time,
const base::Time end_time,
OldCompletionCallback* callback) {
@@ -1429,14 +1409,6 @@ int BackendImpl::DoomEntriesBetween(const base::Time initial_time,
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);
- return net::ERR_IO_PENDING;
-}
-
int BackendImpl::DoomEntriesSince(const base::Time initial_time,
OldCompletionCallback* callback) {
DCHECK(callback);
@@ -1451,13 +1423,6 @@ int BackendImpl::OpenNextEntry(void** iter, Entry** next_entry,
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);
- return net::ERR_IO_PENDING;
-}
-
void BackendImpl::EndEnumeration(void** iter) {
background_queue_.EndEnumeration(*iter);
*iter = NULL;
« no previous file with comments | « net/disk_cache/backend_impl.h ('k') | net/disk_cache/disk_cache.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698