| Index: net/http/mock_http_cache.h
|
| diff --git a/net/http/mock_http_cache.h b/net/http/mock_http_cache.h
|
| index b834d3fdd39ea5f440dc8d77802dbc141c6ababc..26d6b4d68f35d44f0fda77fe1a02e77ae1b08363 100644
|
| --- a/net/http/mock_http_cache.h
|
| +++ b/net/http/mock_http_cache.h
|
| @@ -102,6 +102,9 @@ class MockDiskCache : public disk_cache::Backend {
|
| virtual int32 GetEntryCount() const OVERRIDE;
|
| virtual int OpenEntry(const std::string& key, disk_cache::Entry** entry,
|
| const net::CompletionCallback& callback) OVERRIDE;
|
| + int OpenDoomedEntry(const std::string& key,
|
| + disk_cache::Entry** entry,
|
| + const net::CompletionCallback& callback);
|
| virtual int CreateEntry(const std::string& key, disk_cache::Entry** entry,
|
| const net::CompletionCallback& callback) OVERRIDE;
|
| virtual int DoomEntry(const std::string& key,
|
| @@ -191,6 +194,10 @@ class MockHttpCache {
|
| // Helper function to synchronously open a backend entry.
|
| bool OpenBackendEntry(const std::string& key, disk_cache::Entry** entry);
|
|
|
| + // Helper function to synchronously open a doomed backend entry.
|
| + bool OpenBackendDoomedEntry(const std::string& key,
|
| + disk_cache::Entry** entry);
|
| +
|
| // Helper function to synchronously create a backend entry.
|
| bool CreateBackendEntry(const std::string& key, disk_cache::Entry** entry,
|
| net::NetLog* net_log);
|
|
|