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

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

Issue 23983005: SimpleCache: merge the first and second stream in one file (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Stream 0 size in footer Created 7 years, 3 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.cc
diff --git a/net/disk_cache/simple/simple_index_file.cc b/net/disk_cache/simple/simple_index_file.cc
index 61318c83b933718c8d760332868d161b74fcd2bc..8d4e3ff36f145d7625cf0ca7fd6ec1e993c2454f 100644
--- a/net/disk_cache/simple/simple_index_file.cc
+++ b/net/disk_cache/simple/simple_index_file.cc
@@ -412,7 +412,7 @@ void SimpleIndexFile::SyncRestoreFromDisk(
SimpleIndex::EntrySet* entries = &out_result->entries;
// TODO(felipeg,gavinp): Fix this once we have a one-file per entry format.
- COMPILE_ASSERT(kSimpleEntryFileCount == 3,
+ COMPILE_ASSERT(kSimpleEntryFileCount == 2,
pasko 2013/09/17 14:17:36 Please remove the assertion and the TODO. The asse
clamy 2013/09/18 16:17:14 Done.
file_pattern_must_match_file_count);
const bool did_succeed = TraverseCacheDirectory(

Powered by Google App Engine
This is Rietveld 408576698