1 // Copyright 2013 The Chromium Authors
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CC_BENCHMARKS_UNITTEST_ONLY_BENCHMARK_IMPL_H_
6 #define CC_BENCHMARKS_UNITTEST_ONLY_BENCHMARK_IMPL_H_
8 #include "base/memory/scoped_refptr.h"
9 #include "cc/benchmarks/micro_benchmark_impl.h"
12 class SingleThreadTaskRunner;
17 class LayerTreeHostImpl;
18 class CC_EXPORT UnittestOnlyBenchmarkImpl : public MicroBenchmarkImpl {
20 UnittestOnlyBenchmarkImpl(
21 scoped_refptr<base::SingleThreadTaskRunner> origin_task_runner,
22 DoneCallback callback);
23 ~UnittestOnlyBenchmarkImpl() override;
25 void DidCompleteCommit(LayerTreeHostImpl* host) override;
30 #endif // CC_BENCHMARKS_UNITTEST_ONLY_BENCHMARK_IMPL_H_