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

Unified Diff: net/disk_cache/blockfile/addr.h

Issue 1910023002: Remove partial blockfile v3 disk_cache implementation. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 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
« no previous file with comments | « net/BUILD.gn ('k') | net/disk_cache/blockfile/addr.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/disk_cache/blockfile/addr.h
diff --git a/net/disk_cache/blockfile/addr.h b/net/disk_cache/blockfile/addr.h
index cf6071ed9deeab9f2b43b2800cd3700c84a57ef7..f21fbf2aa14000ccdd6f978a976ed238b4bc3099 100644
--- a/net/disk_cache/blockfile/addr.h
+++ b/net/disk_cache/blockfile/addr.h
@@ -31,7 +31,6 @@ const int kMaxBlockSize = 4096 * 4;
const int16_t kMaxBlockFile = 255;
const int kMaxNumBlocks = 4;
const int16_t kFirstAdditionalBlockFile = 4;
-const size_t kFirstAdditionalBlockFileV3 = 7;
// Defines a storage address for a cache record
//
@@ -161,10 +160,8 @@ class NET_EXPORT_PRIVATE Addr {
}
// Returns true if this address looks like a valid one.
- bool SanityCheckV2() const;
- bool SanityCheckV3() const;
- bool SanityCheckForEntryV2() const;
- bool SanityCheckForEntryV3() const;
+ bool SanityCheck() const;
+ bool SanityCheckForEntry() const;
bool SanityCheckForRankings() const;
private:
« no previous file with comments | « net/BUILD.gn ('k') | net/disk_cache/blockfile/addr.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698