chromium/base/allocator/dispatcher/dispatcher.cc

// Copyright 2022 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/allocator/dispatcher/dispatcher.h"

#include "base/allocator/dispatcher/internal/dispatch_data.h"
#include "base/check.h"
#include "base/dcheck_is_on.h"
#include "base/no_destructor.h"
#include "partition_alloc/buildflags.h"
#include "partition_alloc/shim/allocator_shim.h"

#if DCHECK_IS_ON()
#include <atomic>
#endif

#if PA_BUILDFLAG(USE_PARTITION_ALLOC)
#include "partition_alloc/partition_alloc_hooks.h"
#endif

namespace base::allocator::dispatcher {

// The private implementation of Dispatcher.
struct Dispatcher::Impl {};

Dispatcher::Dispatcher() :{}

Dispatcher::~Dispatcher() = default;

Dispatcher& Dispatcher::GetInstance() {}

void Dispatcher::Initialize(const internal::DispatchData& dispatch_data) {}

void Dispatcher::ResetForTesting() {}
}  // namespace base::allocator::dispatcher