Index: net/disk_cache/simple/simple_synchronous_entry.h |
diff --git a/net/disk_cache/simple/simple_synchronous_entry.h b/net/disk_cache/simple/simple_synchronous_entry.h |
index f591c9a0f93ef026fcccf139da225b8495f9f369..ff7385c69a3161c2a1032ca4694d64c58f0a61aa 100644 |
--- a/net/disk_cache/simple/simple_synchronous_entry.h |
+++ b/net/disk_cache/simple/simple_synchronous_entry.h |
@@ -84,12 +84,11 @@ class SimpleSynchronousEntry { |
// Deletes an entry without first Opening it. Does not check if there is |
// already an Entry object in memory holding the open files. Be careful! This |
- // is meant to be used by the Backend::DoomEntry() call. |callback| will be |
- // run by |callback_runner|. |
- static void DoomEntry(const base::FilePath& path, |
- const std::string& key, |
- uint64 entry_hash, |
- int* out_result); |
+ // is meant to be used by the Backend::DoomEntry() call. Returns a net error |
+ // code. |
Randy Smith (Not in Mondays)
2013/09/03 18:48:19
Suggestion: Now that dooms on active entries are d
Philippe
2013/09/04 09:35:23
Thanks Randy. I find that the current comment wasn
Randy Smith (Not in Mondays)
2013/09/04 15:44:16
Awesome; thank you. Just because I'm a (maybe too
Philippe
2013/09/04 15:50:32
Done.
|
+ static int DoomEntry(const base::FilePath& path, |
+ const std::string& key, |
+ uint64 entry_hash); |
// Like |DoomEntry()| above. Deletes all entries corresponding to the |
// |key_hashes|. Succeeds only when all entries are deleted. Returns a net |