| Index: net/http/partial_data.h
|
| diff --git a/net/http/partial_data.h b/net/http/partial_data.h
|
| index 45bda39b43e954482be01ced96c8e04f81faf2dd..ce56f637bb73af99962f49766255d8035490e195 100644
|
| --- a/net/http/partial_data.h
|
| +++ b/net/http/partial_data.h
|
| @@ -72,7 +72,8 @@ class PartialData {
|
| // there is any problem with the headers. |truncated| should be true if we
|
| // have an incomplete 200 entry.
|
| bool UpdateFromStoredHeaders(const HttpResponseHeaders* headers,
|
| - disk_cache::Entry* entry, bool truncated);
|
| + disk_cache::Entry* entry,
|
| + bool truncated);
|
|
|
| // Sets the byte current range to start again at zero (for a truncated entry).
|
| void SetRangeToStartDownload();
|
| @@ -96,12 +97,16 @@ class PartialData {
|
| // cache that provides the right arguments for the current range. When the IO
|
| // operation completes, OnCacheReadCompleted() must be called with the result
|
| // of the operation.
|
| - int CacheRead(disk_cache::Entry* entry, IOBuffer* data, int data_len,
|
| + int CacheRead(disk_cache::Entry* entry,
|
| + IOBuffer* data,
|
| + int data_len,
|
| const net::CompletionCallback& callback);
|
|
|
| // Writes |data_len| bytes to cache. This is basically a wrapper around the
|
| // API of the cache that provides the right arguments for the current range.
|
| - int CacheWrite(disk_cache::Entry* entry, IOBuffer* data, int data_len,
|
| + int CacheWrite(disk_cache::Entry* entry,
|
| + IOBuffer* data,
|
| + int data_len,
|
| const net::CompletionCallback& callback);
|
|
|
| // This method should be called when CacheRead() finishes the read, to update
|
| @@ -132,7 +137,7 @@ class PartialData {
|
| bool range_present_; // True if next range entry is already stored.
|
| bool final_range_;
|
| bool sparse_entry_;
|
| - bool truncated_; // We have an incomplete 200 stored.
|
| + bool truncated_; // We have an incomplete 200 stored.
|
| bool initial_validation_; // Only used for truncated entries.
|
| Core* core_;
|
| CompletionCallback callback_;
|
|
|