#include "cc/benchmarks/micro_benchmark_impl.h"
#include <utility>
#include "base/functional/bind.h"
#include "base/functional/callback.h"
#include "base/location.h"
#include "base/task/single_thread_task_runner.h"
#include "base/values.h"
namespace cc {
MicroBenchmarkImpl::MicroBenchmarkImpl(
DoneCallback callback,
scoped_refptr<base::SingleThreadTaskRunner> origin_task_runner)
: … { … }
MicroBenchmarkImpl::~MicroBenchmarkImpl() = default;
bool MicroBenchmarkImpl::IsDone() const { … }
void MicroBenchmarkImpl::DidCompleteCommit(LayerTreeHostImpl* host) { … }
void MicroBenchmarkImpl::NotifyDone(base::Value::Dict result) { … }
void MicroBenchmarkImpl::RunOnLayer(LayerImpl* layer) { … }
void MicroBenchmarkImpl::RunOnLayer(PictureLayerImpl* layer) { … }
}