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

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: git cl try 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
« no previous file with comments | « no previous file | net/disk_cache/simple/simple_index_file.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
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..0f10094b0a4f2a13079ecf083bcd1192b884e47e 100644
--- a/net/disk_cache/simple/simple_index_file.h
+++ b/net/disk_cache/simple/simple_index_file.h
@@ -105,7 +105,10 @@ class NET_EXPORT_PRIVATE SimpleIndexFile {
friend class WrappedSimpleIndexFile;
// Used for cache directory traversal.
- typedef base::Callback<void (const base::FilePath&)> EntryFileCallback;
+ using EntryFileCallback = base::Callback<void(const base::FilePath&,
+ base::Time last_accessed,
+ base::Time last_modified,
+ int64_t size)>;
// 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') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698