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

Unified Diff: net/disk_cache/blockfile/block_files_unittest.cc

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/block_files_unittest.cc
diff --git a/net/disk_cache/blockfile/block_files_unittest.cc b/net/disk_cache/blockfile/block_files_unittest.cc
index bbd89814a4231470f0dce862f86565fec6656e69..d7d86ac35492d92a2c3d745055f192190f1a9298 100644
--- a/net/disk_cache/blockfile/block_files_unittest.cc
+++ b/net/disk_cache/blockfile/block_files_unittest.cc
@@ -117,8 +117,7 @@ TEST_F(DiskCacheTest, BlockFiles_Recover) {
MappedFile* file = files.GetFile(address);
ASSERT_TRUE(NULL != file);
- BlockFileHeader* header =
- reinterpret_cast<BlockFileHeader*>(file->buffer());
+ BlockFileHeader* header = reinterpret_cast<BlockFileHeader*>(file->buffer());
ASSERT_TRUE(NULL != header);
ASSERT_EQ(0, header->updating);
@@ -330,7 +329,7 @@ TEST_F(DiskCacheTest, AllocationMap) {
BlockFileHeader* header =
reinterpret_cast<BlockFileHeader*>(files.GetFile(address[0])->buffer());
uint8* buffer = reinterpret_cast<uint8*>(&header->allocation_map);
- for (int i =0; i < 29; i++) {
+ for (int i = 0; i < 29; i++) {
SCOPED_TRACE(i);
EXPECT_EQ(0xff, buffer[i]);
}
@@ -341,7 +340,7 @@ TEST_F(DiskCacheTest, AllocationMap) {
}
// The allocation map should be empty.
- for (int i =0; i < 50; i++) {
+ for (int i = 0; i < 50; i++) {
SCOPED_TRACE(i);
EXPECT_EQ(0, buffer[i]);
}

Powered by Google App Engine
This is Rietveld 408576698