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

Unified Diff: net/disk_cache/simple/simple_synchronous_entry.h

Issue 13880016: Make SimpleEntryImpl ref counted. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: remove flaky dchecks Created 7 years, 8 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/disk_cache/simple/simple_synchronous_entry.h
diff --git a/net/disk_cache/simple/simple_synchronous_entry.h b/net/disk_cache/simple/simple_synchronous_entry.h
index 6d7eac0362e9a911fdd0527425bb1dd14b91d75c..f91262cb6a7683c34010e05c461b597ff1522347 100644
--- a/net/disk_cache/simple/simple_synchronous_entry.h
+++ b/net/disk_cache/simple/simple_synchronous_entry.h
@@ -60,7 +60,7 @@ class SimpleSynchronousEntry {
// run by |callback_runner|.
static void DoomEntry(const base::FilePath& path,
const std::string& key,
- scoped_refptr<base::TaskRunner> callback_runner,
+ const scoped_refptr<base::TaskRunner>& callback_runner,
rvargas (doing something else) 2013/04/17 19:56:38 this should be a plain pointer
const net::CompletionCallback& callback);
// N.B. Close(), ReadData() and WriteData() may block on IO.

Powered by Google App Engine
This is Rietveld 408576698