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

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

Issue 2774923002: Try to speed up SimpleCache index re-sync on Windows. (Closed)
Patch Set: Created 3 years, 9 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_index_file.h
diff --git a/net/disk_cache/simple/simple_index_file.h b/net/disk_cache/simple/simple_index_file.h
index 981a03dd7d1b401bdf8e1eed89ae5b91eeeb59eb..8dce4bf78ba973ac49813cfd1a23ff7c961a3d85 100644
--- a/net/disk_cache/simple/simple_index_file.h
+++ b/net/disk_cache/simple/simple_index_file.h
@@ -105,7 +105,11 @@ class NET_EXPORT_PRIVATE SimpleIndexFile {
friend class WrappedSimpleIndexFile;
// Used for cache directory traversal.
- typedef base::Callback<void (const base::FilePath&)> EntryFileCallback;
+ typedef base::Callback<void(const base::FilePath&,
jkarlin 2017/03/27 14:09:15 While we're here, change this to using EntryFileCa
Maks Orlovich 2017/03/27 15:25:44 Done.
+ base::Time last_accessed,
+ base::Time last_modified,
+ int64_t size)>
+ EntryFileCallback;
// When loading the entries from disk, add this many extra hash buckets to
// prevent reallocation on the IO thread when merging in new live entries.
« no previous file with comments | « no previous file | net/disk_cache/simple/simple_index_file.cc » ('j') | net/disk_cache/simple/simple_index_file.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698