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

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

Issue 23486006: Track entries pending Doom in SimpleCache backend. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 4 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_entry_impl.h
diff --git a/net/disk_cache/simple/simple_entry_impl.h b/net/disk_cache/simple/simple_entry_impl.h
index 7daf381541a32fd07486f83c29bf60223c4c5520..76eae5b578cb49777221e3abfe772f609a21b988 100644
--- a/net/disk_cache/simple/simple_entry_impl.h
+++ b/net/disk_cache/simple/simple_entry_impl.h
@@ -217,7 +217,8 @@ class SimpleEntryImpl : public Entry, public base::RefCounted<SimpleEntryImpl>,
scoped_ptr<int> result);
// Called after an asynchronous doom completes.
- void DoomOperationComplete(const CompletionCallback& callback,
+ void DoomOperationComplete(const base::WeakPtr<SimpleBackendImpl>& backend,
+ const CompletionCallback& callback,
State state_to_restore,
int result);

Powered by Google App Engine
This is Rietveld 408576698