chromium/components/memory_system/initializer.cc

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

#include "components/memory_system/initializer.h"

#include <string_view>

#include "base/profiler/process_type.h"
#include "components/memory_system/memory_system.h"

namespace memory_system {

Initializer::Initializer() = default;
Initializer::~Initializer() = default;

Initializer& Initializer::SetGwpAsanParameters(bool boost_sampling,
                                               std::string_view process_type) {}

Initializer& Initializer::SetProfilingClientParameters(
    version_info::Channel channel,
    base::ProfilerProcessType process_type) {}

Initializer& Initializer::SetDispatcherParameters(
    DispatcherParameters::PoissonAllocationSamplerInclusion
        poisson_allocation_sampler_inclusion,
    DispatcherParameters::AllocationTraceRecorderInclusion
        allocation_trace_recorder_inclusion,
    std::string_view process_type) {}

void Initializer::Initialize(MemorySystem& memory_system) const {}

}  // namespace memory_system