| Index: net/disk_cache/simple/simple_backend_impl.cc
|
| diff --git a/net/disk_cache/simple/simple_backend_impl.cc b/net/disk_cache/simple/simple_backend_impl.cc
|
| index 68550fb534b73a2446d06f8d7b1c06c084b0993c..9abe46df4ebc7c88c15bace27234b6fa6889fd5c 100644
|
| --- a/net/disk_cache/simple/simple_backend_impl.cc
|
| +++ b/net/disk_cache/simple/simple_backend_impl.cc
|
| @@ -594,6 +594,17 @@ size_t SimpleBackendImpl::DumpMemoryStats(
|
| return size;
|
| }
|
|
|
| +uint8_t SimpleBackendImpl::GetEntryInMemoryData(const std::string& key) {
|
| + const uint64_t entry_hash = simple_util::GetEntryHashKey(key);
|
| + return index_->GetEntryInMemoryData(entry_hash);
|
| +}
|
| +
|
| +void SimpleBackendImpl::SetEntryInMemoryData(const std::string& key,
|
| + uint8_t data) {
|
| + const uint64_t entry_hash = simple_util::GetEntryHashKey(key);
|
| + index_->SetEntryInMemoryData(entry_hash, data);
|
| +}
|
| +
|
| void SimpleBackendImpl::InitializeIndex(const CompletionCallback& callback,
|
| const DiskStatResult& result) {
|
| if (result.net_error == net::OK) {
|
|
|