Index: net/http/mock_http_cache.h |
diff --git a/net/http/mock_http_cache.h b/net/http/mock_http_cache.h |
index 5ead727b76a7f873dfd111215ac3dc53fac8946e..ab63b114f55212586027138a5db98af8f6dc171c 100644 |
--- a/net/http/mock_http_cache.h |
+++ b/net/http/mock_http_cache.h |
@@ -114,9 +114,7 @@ class MockDiskCache : public disk_cache::Backend { |
virtual int DoomEntriesSince( |
base::Time initial_time, |
const net::CompletionCallback& callback) OVERRIDE; |
- virtual int OpenNextEntry(void** iter, disk_cache::Entry** next_entry, |
- const net::CompletionCallback& callback) OVERRIDE; |
- virtual void EndEnumeration(void** iter) OVERRIDE; |
+ virtual scoped_ptr<Iterator> CreateIterator() OVERRIDE; |
virtual void GetStats( |
std::vector<std::pair<std::string, std::string> >* stats) OVERRIDE; |
virtual void OnExternalCacheHit(const std::string& key) OVERRIDE; |
@@ -143,6 +141,7 @@ 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); |