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

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

Issue 13913010: Add Cache size to the Simple Index. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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_entry_impl.h
diff --git a/net/disk_cache/simple/simple_entry_impl.h b/net/disk_cache/simple/simple_entry_impl.h
index 353ee4a82b6fd05ef5228a45c077c225d89a068f..a6426141e820e95136b1a7c1276365fca59efc05 100644
--- a/net/disk_cache/simple/simple_entry_impl.h
+++ b/net/disk_cache/simple/simple_entry_impl.h
@@ -99,6 +99,7 @@ class SimpleEntryImpl : public Entry {
// operation, such as ReadData() or WriteData(). Calls |completion_callback|.
// If |entry| no longer exists, then it ensures |sync_entry| is closed.
static void EntryOperationComplete(
+ base::WeakPtr<SimpleIndex> index,
gavinp 2013/04/10 10:33:23 What's the right thing to do when an operation fin
felipeg 2013/04/10 11:45:35 We do nothing, the index will be stale on disk. Wh
const CompletionCallback& completion_callback,
base::WeakPtr<SimpleEntryImpl> entry,
SimpleSynchronousEntry* sync_entry,

Powered by Google App Engine
This is Rietveld 408576698