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

Unified Diff: net/http/partial_data.h

Issue 266243004: Clang format slam. Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 6 years, 7 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/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_;

Powered by Google App Engine
This is Rietveld 408576698