chromium/base/posix/global_descriptors.cc

// Copyright 2012 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/posix/global_descriptors.h"

#include <vector>
#include <utility>

#include "base/logging.h"

namespace base {

GlobalDescriptors::Descriptor::Descriptor(Key key, int fd)
    :{}

GlobalDescriptors::Descriptor::Descriptor(Key key,
                                          int fd,
                                          base::MemoryMappedFile::Region region)
    :{}

// static
GlobalDescriptors* GlobalDescriptors::GetInstance() {}

int GlobalDescriptors::Get(Key key) const {}

int GlobalDescriptors::MaybeGet(Key key) const {}

base::ScopedFD GlobalDescriptors::TakeFD(
    Key key,
    base::MemoryMappedFile::Region* region) {}

void GlobalDescriptors::Set(Key key, int fd) {}

void GlobalDescriptors::Set(Key key,
                            int fd,
                            base::MemoryMappedFile::Region region) {}

base::MemoryMappedFile::Region GlobalDescriptors::GetRegion(Key key) const {}

void GlobalDescriptors::Reset(const Mapping& mapping) {}

GlobalDescriptors::GlobalDescriptors() = default;

GlobalDescriptors::~GlobalDescriptors() = default;

}  // namespace base