Index: net/disk_cache/simple/simple_synchronous_entry.cc |
diff --git a/net/disk_cache/simple/simple_synchronous_entry.cc b/net/disk_cache/simple/simple_synchronous_entry.cc |
index d8e5148f98a2c7971d542a6fec6fde9e27fccc57..8dfa3634adb41ac2e8b8d949cb3463ec75c10de7 100644 |
--- a/net/disk_cache/simple/simple_synchronous_entry.cc |
+++ b/net/disk_cache/simple/simple_synchronous_entry.cc |
@@ -112,17 +112,6 @@ void SimpleSynchronousEntry::DoomEntry( |
callback_runner->PostTask(FROM_HERE, base::Bind(callback, net::OK)); |
} |
-void SimpleSynchronousEntry::DoomAndClose() { |
- scoped_refptr<TaskRunner> callback_runner = callback_runner_; |
- FilePath path = path_; |
- std::string key = key_; |
- |
- Close(); |
- // |this| is now deleted. |
- |
- DoomEntry(path, key, callback_runner, net::CompletionCallback()); |
-} |
- |
void SimpleSynchronousEntry::Close() { |
for (int i = 0; i < kSimpleEntryFileCount; ++i) { |
bool ALLOW_UNUSED result = ClosePlatformFile(files_[i]); |