summaryrefslogtreecommitdiffstats
path: root/chromium/net/disk_cache/blockfile/disk_format.cc
diff options
context:
space:
mode:
Diffstat (limited to 'chromium/net/disk_cache/blockfile/disk_format.cc')
-rw-r--r--chromium/net/disk_cache/blockfile/disk_format.cc15
1 files changed, 15 insertions, 0 deletions
diff --git a/chromium/net/disk_cache/blockfile/disk_format.cc b/chromium/net/disk_cache/blockfile/disk_format.cc
new file mode 100644
index 00000000000..4d398c28aa6
--- /dev/null
+++ b/chromium/net/disk_cache/blockfile/disk_format.cc
@@ -0,0 +1,15 @@
+// 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/blockfile/disk_format.h"
+
+namespace disk_cache {
+
+IndexHeader::IndexHeader() {
+ memset(this, 0, sizeof(*this));
+ magic = kIndexMagic;
+ version = kCurrentVersion;
+}
+
+} // namespace disk_cache