| Index: net/disk_cache/disk_cache_test_base.h
|
| diff --git a/net/disk_cache/disk_cache_test_base.h b/net/disk_cache/disk_cache_test_base.h
|
| index 225d37fc98e4135c851717769bb509000ba41513..b724906289528dc425c41606cdabb71941602170 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 @@
|
| // 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 @@
|
| 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,
|
|
|