Merge Chromium + Blink git repositories
[chromium-blink-merge.git] / cc / debug / unittest_only_benchmark_impl.cc
blob59e3d274738206144b6af305124975b31dfd7af7
1 // Copyright 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #include "cc/debug/unittest_only_benchmark_impl.h"
7 #include "base/single_thread_task_runner.h"
8 #include "base/values.h"
10 namespace cc {
12 UnittestOnlyBenchmarkImpl::UnittestOnlyBenchmarkImpl(
13 scoped_refptr<base::SingleThreadTaskRunner> origin_task_runner,
14 base::Value* settings,
15 const DoneCallback& callback)
16 : MicroBenchmarkImpl(callback, origin_task_runner) {
19 UnittestOnlyBenchmarkImpl::~UnittestOnlyBenchmarkImpl() {}
21 void UnittestOnlyBenchmarkImpl::DidCompleteCommit(LayerTreeHostImpl* host) {
22 NotifyDone(nullptr);
25 } // namespace cc