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

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

Issue 13813015: Separate Simple Backend creation from initialization. (Closed) Base URL: http://git.chromium.org/chromium/src.git@trace-2
Patch Set: updated the simple backend initialization according to the new interface in tests Created 7 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
Index: net/disk_cache/simple/simple_synchronous_entry.cc
diff --git a/net/disk_cache/simple/simple_synchronous_entry.cc b/net/disk_cache/simple/simple_synchronous_entry.cc
index cd88df931a9fdeb3438f7951b81125a1728817c4..d3091d1be6446b6e85996438dee2076e893d9607 100644
--- a/net/disk_cache/simple/simple_synchronous_entry.cc
+++ b/net/disk_cache/simple/simple_synchronous_entry.cc
@@ -51,8 +51,7 @@ int32 DataSizeFromKeyAndFileSize(size_t key_size, int64 file_size) {
}
int64 FileOffsetFromDataOffset(size_t key_size, int data_offset) {
- const int64 headers_size = sizeof(disk_cache::SimpleFileHeader) +
- key_size;
+ const int64 headers_size = sizeof(disk_cache::SimpleFileHeader) + key_size;
return headers_size + data_offset;
}
« net/disk_cache/simple/simple_backend_impl.cc ('K') | « net/disk_cache/simple/simple_index.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698