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

Unified Diff: net/disk_cache/blockfile/index_table_v3.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/index_table_v3.h
diff --git a/net/disk_cache/blockfile/index_table_v3.h b/net/disk_cache/blockfile/index_table_v3.h
index 598aeecf8a7cb72251b1d42f4215393e4ff15867..02a7cf2ec3ad20da1f798592ac2ec38dc9a11f88 100644
--- a/net/disk_cache/blockfile/index_table_v3.h
+++ b/net/disk_cache/blockfile/index_table_v3.h
@@ -116,7 +116,10 @@ struct NET_EXPORT_PRIVATE EntrySet {
// A given entity referenced by the index table is uniquely identified by the
// combination of hash and address.
-struct CellInfo { uint32 hash; Addr address; };
+struct CellInfo {
+ uint32 hash;
+ Addr address;
+};
typedef std::vector<CellInfo> CellList;
// An index iterator is used to get a group of cells that share the same
@@ -240,15 +243,19 @@ class NET_EXPORT_PRIVATE IndexTable {
IndexIterator* no_use,
IndexIterator* low_use,
IndexIterator* high_use);
- void UpdateFromBucket(IndexBucket* bucket, int bucket_hash,
+ void UpdateFromBucket(IndexBucket* bucket,
+ int bucket_hash,
int limit_time,
IndexIterator* no_use,
IndexIterator* low_use,
IndexIterator* high_use);
void MoveCells(IndexBucket* old_extra_table);
- void MoveSingleCell(IndexCell* current_cell, int cell_num,
- int main_table_index, bool growing);
- void HandleMisplacedCell(IndexCell* current_cell, int cell_num,
+ void MoveSingleCell(IndexCell* current_cell,
+ int cell_num,
+ int main_table_index,
+ bool growing);
+ void HandleMisplacedCell(IndexCell* current_cell,
+ int cell_num,
int main_table_index);
void CheckBucketList(int bucket_id);

Powered by Google App Engine
This is Rietveld 408576698