naiveproxy/net/disk_cache/blockfile/disk_format.cc

16 lines
390 B
C++
Raw Permalink Normal View History

2018-08-15 01:19:20 +03:00
// 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