summaryrefslogtreecommitdiffstats
path: root/net/tools/dump_cache/simple_cache_dumper.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/tools/dump_cache/simple_cache_dumper.h')
-rw-r--r--net/tools/dump_cache/simple_cache_dumper.h8
1 files changed, 6 insertions, 2 deletions
diff --git a/net/tools/dump_cache/simple_cache_dumper.h b/net/tools/dump_cache/simple_cache_dumper.h
index cc865a3..c95e6a9 100644
--- a/net/tools/dump_cache/simple_cache_dumper.h
+++ b/net/tools/dump_cache/simple_cache_dumper.h
@@ -9,10 +9,14 @@
#include "base/memory/scoped_ptr.h"
#include "base/threading/thread.h"
#include "net/base/completion_callback.h"
-#include "net/disk_cache/disk_cache.h"
class DiskDumper;
+namespace disk_cache {
+class Backend;
+class Entry;
+} // namespace disk_cache
+
namespace net {
class IOBufferWithSize;
@@ -75,7 +79,7 @@ class SimpleCacheDumper {
scoped_ptr<disk_cache::Backend> cache_;
scoped_ptr<DiskDumper> writer_;
base::Thread* cache_thread_;
- scoped_ptr<disk_cache::Backend::Iterator> iter_;
+ void* iter_;
disk_cache::Entry* src_entry_;
disk_cache::Entry* dst_entry_;
CompletionCallback io_callback_;