diff options
Diffstat (limited to 'net/http/mock_http_cache.h')
-rw-r--r-- | net/http/mock_http_cache.h | 5 |
1 files changed, 3 insertions, 2 deletions
diff --git a/net/http/mock_http_cache.h b/net/http/mock_http_cache.h index ab63b11..5ead727 100644 --- a/net/http/mock_http_cache.h +++ b/net/http/mock_http_cache.h @@ -114,7 +114,9 @@ class MockDiskCache : public disk_cache::Backend { virtual int DoomEntriesSince( base::Time initial_time, const net::CompletionCallback& callback) OVERRIDE; - virtual scoped_ptr<Iterator> CreateIterator() OVERRIDE; + virtual int OpenNextEntry(void** iter, disk_cache::Entry** next_entry, + const net::CompletionCallback& callback) OVERRIDE; + virtual void EndEnumeration(void** iter) OVERRIDE; virtual void GetStats( std::vector<std::pair<std::string, std::string> >* stats) OVERRIDE; virtual void OnExternalCacheHit(const std::string& key) OVERRIDE; @@ -141,7 +143,6 @@ class MockDiskCache : public disk_cache::Backend { private: typedef base::hash_map<std::string, MockDiskEntry*> EntryMap; - class NotImplementedIterator; void CallbackLater(const net::CompletionCallback& callback, int result); |