#include "cc/benchmarks/unittest_only_benchmark.h"
#include <optional>
#include <utility>
#include "base/functional/bind.h"
#include "base/memory/ptr_util.h"
#include "base/task/single_thread_task_runner.h"
#include "base/values.h"
#include "cc/benchmarks/unittest_only_benchmark_impl.h"
namespace cc {
UnittestOnlyBenchmark::UnittestOnlyBenchmark(base::Value::Dict settings,
DoneCallback callback)
: … { … }
UnittestOnlyBenchmark::~UnittestOnlyBenchmark() { … }
void UnittestOnlyBenchmark::DidUpdateLayers(LayerTreeHost* layer_tree_host) { … }
bool UnittestOnlyBenchmark::ProcessMessage(base::Value::Dict message) { … }
void UnittestOnlyBenchmark::RecordImplResults(base::Value::Dict results) { … }
std::unique_ptr<MicroBenchmarkImpl> UnittestOnlyBenchmark::CreateBenchmarkImpl(
scoped_refptr<base::SingleThreadTaskRunner> origin_task_runner) { … }
}