diff options
Diffstat (limited to 'net/http')
-rw-r--r-- | net/http/mock_http_cache.cc | 5 | ||||
-rw-r--r-- | net/http/mock_http_cache.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/net/http/mock_http_cache.cc b/net/http/mock_http_cache.cc index dc06aaa..19c6154 100644 --- a/net/http/mock_http_cache.cc +++ b/net/http/mock_http_cache.cc @@ -468,6 +468,11 @@ int MockDiskCache::OpenNextEntry(void** iter, disk_cache::Entry** next_entry, return net::ERR_NOT_IMPLEMENTED; } +int MockDiskCache::OpenNextEntry(void** iter, disk_cache::Entry** next_entry, + const net::CompletionCallback& callback) { + return net::ERR_NOT_IMPLEMENTED; +} + void MockDiskCache::EndEnumeration(void** iter) { } diff --git a/net/http/mock_http_cache.h b/net/http/mock_http_cache.h index 71aad88..3305a51 100644 --- a/net/http/mock_http_cache.h +++ b/net/http/mock_http_cache.h @@ -115,6 +115,8 @@ class MockDiskCache : public disk_cache::Backend { net::OldCompletionCallback* callback) OVERRIDE; virtual int OpenNextEntry(void** iter, disk_cache::Entry** next_entry, net::OldCompletionCallback* callback) 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; |