| Index: net/disk_cache/disk_format.cc
|
| diff --git a/net/disk_cache/disk_format.cc b/net/disk_cache/disk_format.cc
|
| new file mode 100644
|
| index 0000000000000000000000000000000000000000..5216b5027f75ddcd5a66652ccbfd64afbd9238ee
|
| --- /dev/null
|
| +++ b/net/disk_cache/disk_format.cc
|
| @@ -0,0 +1,21 @@
|
| +// 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/disk_format.h"
|
| +
|
| +namespace disk_cache {
|
| +
|
| +IndexHeader::IndexHeader() {
|
| + memset(this, 0, sizeof(*this));
|
| + magic = kIndexMagic;
|
| + version = kCurrentVersion;
|
| +}
|
| +
|
| +BlockFileHeader::BlockFileHeader() {
|
| + memset(this, 0, sizeof(BlockFileHeader));
|
| + magic = kBlockMagic;
|
| + version = kCurrentVersion;
|
| +}
|
| +
|
| +} // namespace disk_cache
|
|
|