| 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 ed91fabdbfd97ae183546f3df0d2e657d80001ea..2dad511a58d24342b481dee39fa0b169639b66f5 100644
|
| --- a/net/disk_cache/simple/simple_synchronous_entry.cc
|
| +++ b/net/disk_cache/simple/simple_synchronous_entry.cc
|
| @@ -257,14 +257,13 @@ bool SimpleSynchronousEntry::DeleteFilesForEntryHash(
|
| }
|
|
|
| // static
|
| -void SimpleSynchronousEntry::DoomEntry(
|
| +int SimpleSynchronousEntry::DoomEntry(
|
| const FilePath& path,
|
| const std::string& key,
|
| - uint64 entry_hash,
|
| - int* out_result) {
|
| + uint64 entry_hash) {
|
| DCHECK_EQ(entry_hash, GetEntryHashKey(key));
|
| - bool deleted_well = DeleteFilesForEntryHash(path, entry_hash);
|
| - *out_result = deleted_well ? net::OK : net::ERR_FAILED;
|
| + const bool deleted_well = DeleteFilesForEntryHash(path, entry_hash);
|
| + return deleted_well ? net::OK : net::ERR_FAILED;
|
| }
|
|
|
| // static
|
|
|