summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/block_files.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/disk_cache/block_files.h')
-rw-r--r--net/disk_cache/block_files.h3
1 files changed, 3 insertions, 0 deletions
diff --git a/net/disk_cache/block_files.h b/net/disk_cache/block_files.h
index 790cc7d..e86546e 100644
--- a/net/disk_cache/block_files.h
+++ b/net/disk_cache/block_files.h
@@ -11,6 +11,7 @@
#include "net/disk_cache/addr.h"
#include "net/disk_cache/mapped_file.h"
+#include "testing/gtest/include/gtest/gtest_prod.h"
namespace disk_cache {
@@ -75,6 +76,8 @@ class BlockFiles {
std::wstring path_; // Path to the backing folder.
std::vector<MappedFile*> block_files_; // The actual files.
+ FRIEND_TEST(DiskCacheTest, BlockFiles_ZeroSizeFile);
+
DISALLOW_EVIL_CONSTRUCTORS(BlockFiles);
};