Index: net/disk_cache/simple/simple_index.h |
diff --git a/net/disk_cache/simple/simple_index.h b/net/disk_cache/simple/simple_index.h |
index e1d28197cbd69dcb22d52041c1e9e36fce34963f..c0b39139e165f2c7982ca2f8d1b00aa5c6824a32 100644 |
--- a/net/disk_cache/simple/simple_index.h |
+++ b/net/disk_cache/simple/simple_index.h |
@@ -138,6 +138,8 @@ class NET_EXPORT_PRIVATE SimpleIndex |
void PostponeWritingToDisk(); |
+ void UpdateEntryIteratorSize(EntrySet::iterator* it, uint64 entry_size); |
+ |
// Using the mtime of the file and its mtime, detects if the index file is |
// stale. |
static bool IsIndexFileStale(const base::FilePath& index_filename); |
@@ -194,6 +196,7 @@ class NET_EXPORT_PRIVATE SimpleIndex |
// has been a while since last time we wrote. |
base::TimeTicks last_write_to_disk_; |
base::OneShotTimer<SimpleIndex> write_to_disk_timer_; |
+ base::Closure write_to_disk_cb_; |
pasko
2013/05/17 10:31:33
nit: please separate the declaration of last_write
digit1
2013/05/17 14:36:18
Done.
|
typedef std::list<net::CompletionCallback> CallbackList; |
CallbackList to_run_when_initialized_; |