chromium/services/resource_coordinator/public/cpp/memory_instrumentation/global_memory_dump.cc

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

#include "services/resource_coordinator/public/cpp/memory_instrumentation/global_memory_dump.h"

#include <vector>

namespace memory_instrumentation {

GlobalMemoryDump::GlobalMemoryDump(
    std::vector<mojom::ProcessMemoryDumpPtr> process_dumps,
    mojom::AggregatedMetricsPtr aggregated_metrics)
    :{}
GlobalMemoryDump::~GlobalMemoryDump() = default;

std::unique_ptr<GlobalMemoryDump> GlobalMemoryDump::MoveFrom(
    mojom::GlobalMemoryDumpPtr ptr) {}

GlobalMemoryDump::ProcessDump::ProcessDump(
    mojom::ProcessMemoryDumpPtr process_dump)
    :{}
GlobalMemoryDump::ProcessDump::~ProcessDump() = default;

std::optional<uint64_t> GlobalMemoryDump::ProcessDump::GetMetric(
    const std::string& dump_name,
    const std::string& metric_name) const {}

GlobalMemoryDump::AggregatedMetrics::AggregatedMetrics(
    mojom::AggregatedMetricsPtr aggregated_metrics)
    :{}

GlobalMemoryDump::AggregatedMetrics::~AggregatedMetrics() = default;

}  // namespace memory_instrumentation