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

Unified Diff: net/url_request/view_cache_helper.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/url_request/view_cache_helper.h
diff --git a/net/url_request/view_cache_helper.h b/net/url_request/view_cache_helper.h
index d5a7c423d68df01347e6c0feea9da3069f29d0d0..18db22e29ceea93a69a679c384958c985ebf6ca3 100644
--- a/net/url_request/view_cache_helper.h
+++ b/net/url_request/view_cache_helper.h
@@ -11,11 +11,7 @@
#include "net/base/completion_callback.h"
#include "net/base/io_buffer.h"
#include "net/base/net_export.h"
-
-namespace disk_cache {
-class Backend;
-class Entry;
-} // namespace disk_cache
+#include "net/disk_cache/disk_cache.h"
namespace net {
@@ -102,7 +98,7 @@ class NET_EXPORT ViewCacheHelper {
const URLRequestContext* context_;
disk_cache::Backend* disk_cache_;
disk_cache::Entry* entry_;
- void* iter_;
+ scoped_ptr<disk_cache::Backend::Iterator> iter_;
scoped_refptr<IOBuffer> buf_;
int buf_len_;
int index_;

Powered by Google App Engine
This is Rietveld 408576698