summaryrefslogtreecommitdiffstats
path: root/net/disk_cache/flash/segment.h
diff options
context:
space:
mode:
Diffstat (limited to 'net/disk_cache/flash/segment.h')
-rw-r--r--net/disk_cache/flash/segment.h2
1 files changed, 2 insertions, 0 deletions
diff --git a/net/disk_cache/flash/segment.h b/net/disk_cache/flash/segment.h
index 4a10c65..6dcdf46 100644
--- a/net/disk_cache/flash/segment.h
+++ b/net/disk_cache/flash/segment.h
@@ -97,6 +97,8 @@ class NET_EXPORT_PRIVATE Segment {
bool CanHold(int32 size) const;
private:
+ FRIEND_TEST_ALL_PREFIXES(SegmentTest, CreateDestroy);
+
bool read_only_; // Indicates whether the segment can be written to.
bool init_; // Indicates whether segment was initialized.
Storage* storage_; // Storage on which the segment resides.