Index: net/disk_cache/v3/disk_format_v3.cc |
=================================================================== |
--- net/disk_cache/v3/disk_format_v3.cc (revision 0) |
+++ net/disk_cache/v3/disk_format_v3.cc (revision 0) |
@@ -0,0 +1,26 @@ |
+// Copyright (c) 2010 The Chromium Authors. All rights reserved. |
+// Use of this source code is governed by a BSD-style license that can be |
+// found in the LICENSE file. |
+ |
+#include "net/disk_cache/v3/disk_format_v3.h" |
+ |
+#include "net/disk_cache/addr.h" |
+ |
+namespace disk_cache { |
+ |
+IndexHeaderV3::IndexHeaderV3() { |
+ memset(this, 0, sizeof(*this)); |
+ magic = kIndexMagic; |
+ version = kCurrentVersion; |
+ max_block_file = kFirstAdditionalBlockFileV3; |
+} |
+ |
+EntryRecord::EntryRecord() { |
+ memset(this, 0, sizeof(*this)); |
+} |
+ |
+ShortEntryRecord::ShortEntryRecord() { |
+ memset(this, 0, sizeof(*this)); |
+} |
+ |
+} // namespace disk_cache |
Property changes on: net\disk_cache\v3\disk_format_v3.cc |
___________________________________________________________________ |
Added: svn:eol-style |
+ LF |