chromium/chrome/browser/ui/performance_controls/test_support/memory_metrics_refresh_waiter.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 "chrome/browser/ui/performance_controls/test_support/memory_metrics_refresh_waiter.h"

#include "base/run_loop.h"
#include "base/scoped_observation.h"
#include "base/test/bind.h"
#include "chrome/browser/ui/performance_controls/tab_resource_usage_collector.h"
#include "components/performance_manager/public/decorators/process_metrics_decorator.h"
#include "components/performance_manager/public/graph/graph.h"
#include "components/performance_manager/public/performance_manager.h"

// Forces and waits for the memory metrics to refresh
void MemoryMetricsRefreshWaiter::Wait() {}

TabResourceUsageRefreshWaiter::TabResourceUsageRefreshWaiter()
    :{}
TabResourceUsageRefreshWaiter::~TabResourceUsageRefreshWaiter() = default;

// Forces and waits for the memory metrics to refresh
void TabResourceUsageRefreshWaiter::Wait() {}