| Index: net/http/mock_http_cache.cc
|
| diff --git a/net/http/mock_http_cache.cc b/net/http/mock_http_cache.cc
|
| index cbae9b80b9335487fb6cebe72a0a3e92a26810c4..a91b2c1aa83107c737b67aa40ab064b1ef44f1f3 100644
|
| --- a/net/http/mock_http_cache.cc
|
| +++ b/net/http/mock_http_cache.cc
|
| @@ -457,16 +457,12 @@
|
| return net::ERR_NOT_IMPLEMENTED;
|
| }
|
|
|
| -class MockDiskCache::NotImplementedIterator : public Iterator {
|
| - public:
|
| - virtual int OpenNextEntry(disk_cache::Entry** next_entry,
|
| - const net::CompletionCallback& callback) OVERRIDE {
|
| - return net::ERR_NOT_IMPLEMENTED;
|
| - }
|
| -};
|
| -
|
| -scoped_ptr<disk_cache::Backend::Iterator> MockDiskCache::CreateIterator() {
|
| - return scoped_ptr<Iterator>(new NotImplementedIterator());
|
| +int MockDiskCache::OpenNextEntry(void** iter, disk_cache::Entry** next_entry,
|
| + const net::CompletionCallback& callback) {
|
| + return net::ERR_NOT_IMPLEMENTED;
|
| +}
|
| +
|
| +void MockDiskCache::EndEnumeration(void** iter) {
|
| }
|
|
|
| void MockDiskCache::GetStats(
|
|
|