OLD | NEW |
(Empty) | |
| 1 // Copyright (c) 2010 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #include "net/disk_cache/v3/disk_format_v3.h" |
| 6 |
| 7 #include "net/disk_cache/addr.h" |
| 8 |
| 9 namespace disk_cache { |
| 10 |
| 11 IndexHeaderV3::IndexHeaderV3() { |
| 12 memset(this, 0, sizeof(*this)); |
| 13 magic = kIndexMagic; |
| 14 version = kCurrentVersion; |
| 15 max_block_file = kFirstAdditionalBlockFileV3; |
| 16 } |
| 17 |
| 18 EntryRecord::EntryRecord() { |
| 19 memset(this, 0, sizeof(*this)); |
| 20 } |
| 21 |
| 22 ShortEntryRecord::ShortEntryRecord() { |
| 23 memset(this, 0, sizeof(*this)); |
| 24 } |
| 25 |
| 26 } // namespace disk_cache |
OLD | NEW |