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

Unified Diff: net/disk_cache/blockfile/sparse_control.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/disk_cache/blockfile/sparse_control.h
diff --git a/net/disk_cache/blockfile/sparse_control.h b/net/disk_cache/blockfile/sparse_control.h
index d3450a3eaecfba354733892305fa0d92dfd8cbb1..be24cacbeea121db207e3c727619dc03e73f5845 100644
--- a/net/disk_cache/blockfile/sparse_control.h
+++ b/net/disk_cache/blockfile/sparse_control.h
@@ -59,8 +59,11 @@ class SparseControl {
// to use for asynchronous operations. See the description of the Read /
// WriteSparseData for details about the arguments. The return value is the
// number of bytes read or written, or a net error code.
- int StartIO(SparseOperation op, int64 offset, net::IOBuffer* buf,
- int buf_len, const CompletionCallback& callback);
+ int StartIO(SparseOperation op,
+ int64 offset,
+ net::IOBuffer* buf,
+ int buf_len,
+ const CompletionCallback& callback);
// Implements Entry::GetAvailableRange().
int GetAvailableRange(int64 offset, int len, int64* start);
@@ -153,20 +156,20 @@ class SparseControl {
bool finished_;
bool init_;
bool range_found_; // True if GetAvailableRange found something.
- bool abort_; // True if we should abort the current operation ASAP.
+ bool abort_; // True if we should abort the current operation ASAP.
SparseHeader sparse_header_; // Data about the children of entry_.
- Bitmap children_map_; // The actual bitmap of children.
- SparseData child_data_; // Parent and allocation map of child_.
- Bitmap child_map_; // The allocation map as a bitmap.
+ Bitmap children_map_; // The actual bitmap of children.
+ SparseData child_data_; // Parent and allocation map of child_.
+ Bitmap child_map_; // The allocation map as a bitmap.
CompletionCallback user_callback_;
std::vector<CompletionCallback> abort_callbacks_;
int64 offset_; // Current sparse offset.
scoped_refptr<net::DrainableIOBuffer> user_buf_;
- int buf_len_; // Bytes to read or write.
+ int buf_len_; // Bytes to read or write.
int child_offset_; // Offset to use for the current child.
- int child_len_; // Bytes to read or write for this child.
+ int child_len_; // Bytes to read or write for this child.
int result_;
DISALLOW_COPY_AND_ASSIGN(SparseControl);

Powered by Google App Engine
This is Rietveld 408576698