Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2117)

Unified Diff: net/tools/dump_cache/simple_cache_dumper.h

Issue 542733002: Remove void** from disk_cache interface. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: fix EnumerateAndMatchKeys Created 6 years, 3 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: net/tools/dump_cache/simple_cache_dumper.h
diff --git a/net/tools/dump_cache/simple_cache_dumper.h b/net/tools/dump_cache/simple_cache_dumper.h
index c95e6a961689eab909aaea0a4414c491c14c3c5a..cc865a34b26c4723ea4d5fddc78fe9989091f065 100644
--- a/net/tools/dump_cache/simple_cache_dumper.h
+++ b/net/tools/dump_cache/simple_cache_dumper.h
@@ -9,14 +9,10 @@
#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;
@@ -79,7 +75,7 @@ class SimpleCacheDumper {
scoped_ptr<disk_cache::Backend> cache_;
scoped_ptr<DiskDumper> writer_;
base::Thread* cache_thread_;
- void* iter_;
+ scoped_ptr<disk_cache::Backend::Iterator> iter_;
disk_cache::Entry* src_entry_;
disk_cache::Entry* dst_entry_;
CompletionCallback io_callback_;

Powered by Google App Engine
This is Rietveld 408576698