summaryrefslogtreecommitdiffstats
path: root/cc/debug/unittest_only_benchmark.cc
blob: 951a49ffc558761bdd6d41fdcdaf0d838fd9f20e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
// Copyright 2013 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#include "base/values.h"
#include "cc/debug/unittest_only_benchmark.h"

namespace cc {

UnittestOnlyBenchmark::UnittestOnlyBenchmark(const DoneCallback& callback)
    : MicroBenchmark(callback) {}

UnittestOnlyBenchmark::~UnittestOnlyBenchmark() {}

void UnittestOnlyBenchmark::DidUpdateLayers(LayerTreeHost* host) {
  NotifyDone(scoped_ptr<base::Value>());
}

}  // namespace cc