chromium/components/performance_manager/test_support/run_in_graph.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/performance_manager/test_support/run_in_graph.h"

#include <utility>

#include "base/functional/callback.h"
#include "base/functional/function_ref.h"
#include "base/run_loop.h"
#include "base/test/bind.h"
#include "components/performance_manager/graph/graph_impl.h"
#include "components/performance_manager/performance_manager_impl.h"

namespace performance_manager {

void RunInGraph(base::FunctionRef<void()> on_graph_callback) {}

void RunInGraph(base::FunctionRef<void(Graph*)> on_graph_callback) {}

void RunInGraph(base::FunctionRef<void(GraphImpl*)> on_graph_callback) {}

void RunInGraph(base::FunctionRef<void(base::OnceClosure)> on_graph_callback) {}

void RunInGraph(
    base::FunctionRef<void(base::OnceClosure, Graph*)> on_graph_callback) {}

void RunInGraph(
    base::FunctionRef<void(base::OnceClosure, GraphImpl*)> on_graph_callback) {}

}  // namespace performance_manager