chromium/base/files/memory_mapped_file.cc

// Copyright 2013 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "base/files/memory_mapped_file.h"

#include <utility>

#include "base/files/file_path.h"
#include "base/logging.h"
#include "base/notreached.h"
#include "base/numerics/safe_math.h"
#include "base/system/sys_info.h"
#include "build/build_config.h"

namespace base {

const MemoryMappedFile::Region MemoryMappedFile::Region::kWholeFile =;

MemoryMappedFile::~MemoryMappedFile() {}

#if !BUILDFLAG(IS_NACL)
bool MemoryMappedFile::Initialize(const FilePath& file_name, Access access) {}

bool MemoryMappedFile::Initialize(File file, Access access) {}

bool MemoryMappedFile::Initialize(File file,
                                  const Region& region,
                                  Access access) {}

bool MemoryMappedFile::IsValid() const {}

// static
void MemoryMappedFile::CalculateVMAlignedBoundaries(int64_t start,
                                                    size_t size,
                                                    int64_t* aligned_start,
                                                    size_t* aligned_size,
                                                    int32_t* offset) {}
#endif  // !BUILDFLAG(IS_NACL)

}  // namespace base