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

Unified Diff: net/disk_cache/tracing_cache_backend.h

Issue 20737002: Change the API of disk_cache::CreateCacheBackend to use scoped_ptr (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix new test Created 7 years, 5 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
« no previous file with comments | « net/disk_cache/mem_backend_impl.cc ('k') | net/disk_cache/tracing_cache_backend.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/tracing_cache_backend.h
diff --git a/net/disk_cache/tracing_cache_backend.h b/net/disk_cache/tracing_cache_backend.h
index 60fb9c208be3e05124302e0e0d06bf71e9a64687..304a7334d8340d5ab84861aed1412397b2349d38 100644
--- a/net/disk_cache/tracing_cache_backend.h
+++ b/net/disk_cache/tracing_cache_backend.h
@@ -19,7 +19,7 @@ class EntryProxy;
class NET_EXPORT TracingCacheBackend : public Backend,
public base::SupportsWeakPtr<TracingCacheBackend> {
public:
- explicit TracingCacheBackend(Backend* backend);
+ explicit TracingCacheBackend(scoped_ptr<Backend> backend);
virtual net::CacheType GetCacheType() const OVERRIDE;
virtual int32 GetEntryCount() const OVERRIDE;
« no previous file with comments | « net/disk_cache/mem_backend_impl.cc ('k') | net/disk_cache/tracing_cache_backend.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698