Index: net/disk_cache/simple/simple_synchronous_entry.h |
diff --git a/net/disk_cache/simple/simple_synchronous_entry.h b/net/disk_cache/simple/simple_synchronous_entry.h |
index a7e6e66b12091847ed31623ecdebf1b41d008acc..71c0644f058ad35777dd83fd5c6d186f5422b73e 100644 |
--- a/net/disk_cache/simple/simple_synchronous_entry.h |
+++ b/net/disk_cache/simple/simple_synchronous_entry.h |
@@ -81,6 +81,7 @@ struct SimpleEntryCreationResults { |
scoped_refptr<net::GrowableIOBuffer> stream_0_data; |
SimpleEntryStat entry_stat; |
uint32_t stream_0_crc32; |
+ uint32_t stream_1_crc32; |
int result; |
}; |
@@ -279,6 +280,11 @@ class SimpleSynchronousEntry { |
// this header. Records histograms if any check is failed. |
bool CheckHeaderAndKey(int file_index); |
+ // Read the |
+ bool ReadStream0Data(SimpleEntryStat* out_entry_stat, |
+ scoped_refptr<net::GrowableIOBuffer>* stream_0_data, |
+ uint32_t* out_stream_0_crc32); |
+ |
// Returns a net error, i.e. net::OK on success. |
int InitializeForOpen(SimpleEntryStat* out_entry_stat, |
scoped_refptr<net::GrowableIOBuffer>* stream_0_data, |