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

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

Issue 2922973003: RFC: use some in-memory state in SimpleCache to quickly cache-miss some CantConditionalize cases
Patch Set: omewhat better take at higher-level HC::T impl, a bit lessy hacky, and actually write to cache now. Created 3 years, 6 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_backend_version.h
diff --git a/net/disk_cache/simple/simple_backend_version.h b/net/disk_cache/simple/simple_backend_version.h
index 604d0e1a5962b3b82e0c7e97fe3ea9d681b5e1a6..e7a0ce6b166db16b6a1f4587d367e6179c90dea0 100644
--- a/net/disk_cache/simple/simple_backend_version.h
+++ b/net/disk_cache/simple/simple_backend_version.h
@@ -18,7 +18,8 @@ namespace disk_cache {
// |kSimpleVersion - 1| then the whole cache directory will be cleared.
// * Dropping cache data on disk or some of its parts can be a valid way to
// Upgrade.
-const uint32_t kSimpleVersion = 7;
+const uint32_t kLastCompatSparseVersion = 7;
+const uint32_t kSimpleVersion = 8;
// The version of the entry file(s) as written to disk. Must be updated iff the
// entry format changes with the overall backend version update.

Powered by Google App Engine
This is Rietveld 408576698