- add sources.
[platform/framework/web/crosswalk.git] / src / cc / debug / unittest_only_benchmark.cc
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.
4
5 #include "base/values.h"
6 #include "cc/debug/unittest_only_benchmark.h"
7
8 namespace cc {
9
10 UnittestOnlyBenchmark::UnittestOnlyBenchmark(scoped_ptr<base::Value> value,
11                                              const DoneCallback& callback)
12     : MicroBenchmark(callback) {}
13
14 UnittestOnlyBenchmark::~UnittestOnlyBenchmark() {}
15
16 void UnittestOnlyBenchmark::DidUpdateLayers(LayerTreeHost* host) {
17   NotifyDone(scoped_ptr<base::Value>());
18 }
19
20 }  // namespace cc