diff options
Diffstat (limited to 'net/disk_cache/disk_cache_test_base.h')
-rw-r--r-- | net/disk_cache/disk_cache_test_base.h | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/net/disk_cache/disk_cache_test_base.h b/net/disk_cache/disk_cache_test_base.h index 225d37f..b724906 100644 --- a/net/disk_cache/disk_cache_test_base.h +++ b/net/disk_cache/disk_cache_test_base.h @@ -11,7 +11,6 @@ #include "base/memory/scoped_ptr.h" #include "base/threading/thread.h" #include "net/base/cache_type.h" -#include "net/disk_cache/disk_cache.h" #include "testing/gtest/include/gtest/gtest.h" #include "testing/platform_test.h" @@ -58,17 +57,6 @@ class DiskCacheTest : public PlatformTest { // Provides basic support for cache related tests. class DiskCacheTestWithCache : public DiskCacheTest { protected: - class TestIterator { - public: - explicit TestIterator(scoped_ptr<disk_cache::Backend::Iterator> iterator); - ~TestIterator(); - - int OpenNextEntry(disk_cache::Entry** next_entry); - - private: - scoped_ptr<disk_cache::Backend::Iterator> iterator_; - }; - DiskCacheTestWithCache(); virtual ~DiskCacheTestWithCache(); @@ -129,7 +117,7 @@ class DiskCacheTestWithCache : public DiskCacheTest { int DoomEntriesBetween(const base::Time initial_time, const base::Time end_time); int DoomEntriesSince(const base::Time initial_time); - scoped_ptr<TestIterator> CreateIterator(); + int OpenNextEntry(void** iter, disk_cache::Entry** next_entry); void FlushQueueForTest(); void RunTaskForTest(const base::Closure& closure); int ReadData(disk_cache::Entry* entry, int index, int offset, |