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

Unified Diff: net/disk_cache/disk_cache.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/cache_creator.cc ('k') | net/disk_cache/disk_cache_perftest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/disk_cache.h
diff --git a/net/disk_cache/disk_cache.h b/net/disk_cache/disk_cache.h
index d4cb804fcacf089a146cc69fbc1a1c5f8acd2620..3ae8bf4369b14858742d20d1cfc1f63e14955e92 100644
--- a/net/disk_cache/disk_cache.h
+++ b/net/disk_cache/disk_cache.h
@@ -50,9 +50,11 @@ class Backend;
NET_EXPORT int CreateCacheBackend(net::CacheType type,
net::BackendType backend_type,
const base::FilePath& path,
- int max_bytes, bool force,
+ int max_bytes,
+ bool force,
base::MessageLoopProxy* thread,
- net::NetLog* net_log, Backend** backend,
+ net::NetLog* net_log,
+ scoped_ptr<Backend>* backend,
const net::CompletionCallback& callback);
// The root interface for a disk cache instance.
« no previous file with comments | « net/disk_cache/cache_creator.cc ('k') | net/disk_cache/disk_cache_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698