Index: net/tools/dump_cache/dump_files.cc |
diff --git a/net/tools/dump_cache/dump_files.cc b/net/tools/dump_cache/dump_files.cc |
index 796f205e818426b0f39f2fa083f64d00f7830ca6..ae4afc770bfb7734a2e583a266c93303bf144291 100644 |
--- a/net/tools/dump_cache/dump_files.cc |
+++ b/net/tools/dump_cache/dump_files.cc |
@@ -85,7 +85,7 @@ void DumpStats(const base::FilePath& path, disk_cache::CacheAddr addr) { |
printf("Size(%d): %d\n", i, buffer[i + 2]); |
int64* counters = reinterpret_cast<int64*>( |
- buffer.get() + 2 + disk_cache::Stats::kDataSizesLength); |
+ buffer.get() + 2 + disk_cache::Stats::kDataSizesLength); |
for (int i = 0; i < disk_cache::Stats::MAX_COUNTER; i++) |
printf("Count(%d): %" PRId64 "\n", i, *counters++); |
printf("-------------------------\n\n"); |
@@ -156,8 +156,7 @@ class CacheDumper { |
block_files_(path), |
index_(NULL), |
current_hash_(0), |
- next_addr_(0) { |
- } |
+ next_addr_(0) {} |
bool Init(); |
@@ -189,8 +188,8 @@ bool CacheDumper::Init() { |
base::FilePath index_name(path_.Append(kIndexName)); |
index_file_ = new disk_cache::MappedFile; |
- index_ = reinterpret_cast<disk_cache::Index*>( |
- index_file_->Init(index_name, 0)); |
+ index_ = |
+ reinterpret_cast<disk_cache::Index*>(index_file_->Init(index_name, 0)); |
if (!index_) { |
printf("Unable to map index\n"); |
return false; |
@@ -339,7 +338,8 @@ int DumpHeaders(const base::FilePath& input_path) { |
disk_cache::CacheAddr stats_addr = 0; |
DumpIndexHeader(index_name, &stats_addr); |
- base::FileEnumerator iter(input_path, false, |
+ base::FileEnumerator iter(input_path, |
+ false, |
base::FileEnumerator::FILES, |
FILE_PATH_LITERAL("data_*")); |
for (base::FilePath file = iter.Next(); !file.empty(); file = iter.Next()) |