Fix FullScreen crash in Webapp
[platform/framework/web/chromium-efl.git] / cc / benchmarks / unittest_only_benchmark_impl.h
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.
4
5 #ifndef CC_BENCHMARKS_UNITTEST_ONLY_BENCHMARK_IMPL_H_
6 #define CC_BENCHMARKS_UNITTEST_ONLY_BENCHMARK_IMPL_H_
7
8 #include "base/memory/scoped_refptr.h"
9 #include "cc/benchmarks/micro_benchmark_impl.h"
10
11 namespace base {
12 class SingleThreadTaskRunner;
13 }
14
15 namespace cc {
16
17 class LayerTreeHostImpl;
18 class CC_EXPORT UnittestOnlyBenchmarkImpl : public MicroBenchmarkImpl {
19  public:
20   UnittestOnlyBenchmarkImpl(
21       scoped_refptr<base::SingleThreadTaskRunner> origin_task_runner,
22       DoneCallback callback);
23   ~UnittestOnlyBenchmarkImpl() override;
24
25   void DidCompleteCommit(LayerTreeHostImpl* host) override;
26 };
27
28 }  // namespace cc
29
30 #endif  // CC_BENCHMARKS_UNITTEST_ONLY_BENCHMARK_IMPL_H_