| Index: cc/debug/picture_record_benchmark.h
|
| diff --git a/cc/debug/picture_record_benchmark.h b/cc/debug/picture_record_benchmark.h
|
| deleted file mode 100644
|
| index 3710d83b21b787e608563aa89cc28b2d57cb565a..0000000000000000000000000000000000000000
|
| --- a/cc/debug/picture_record_benchmark.h
|
| +++ /dev/null
|
| @@ -1,37 +0,0 @@
|
| -// 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.
|
| -
|
| -#ifndef CC_DEBUG_PICTURE_RECORD_BENCHMARK_H_
|
| -#define CC_DEBUG_PICTURE_RECORD_BENCHMARK_H_
|
| -
|
| -#include <map>
|
| -#include <utility>
|
| -#include <vector>
|
| -
|
| -#include "base/time/time.h"
|
| -#include "cc/debug/micro_benchmark_controller.h"
|
| -
|
| -namespace cc {
|
| -
|
| -class LayerTreeHost;
|
| -class Layer;
|
| -class CC_EXPORT PictureRecordBenchmark : public MicroBenchmark {
|
| - public:
|
| - explicit PictureRecordBenchmark(scoped_ptr<base::Value> value,
|
| - const MicroBenchmark::DoneCallback& callback);
|
| - ~PictureRecordBenchmark() override;
|
| -
|
| - // Implements MicroBenchmark interface.
|
| - void DidUpdateLayers(LayerTreeHost* host) override;
|
| - void RunOnLayer(PictureLayer* layer) override;
|
| -
|
| - private:
|
| - typedef std::pair<base::TimeDelta, unsigned> TotalTime;
|
| - std::map<std::pair<int, int>, TotalTime> times_;
|
| - std::vector<std::pair<int, int>> dimensions_;
|
| -};
|
| -
|
| -} // namespace cc
|
| -
|
| -#endif // CC_DEBUG_PICTURE_RECORD_BENCHMARK_H_
|
|
|