Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(12)

Unified Diff: cc/debug/micro_benchmark.cc

Issue 1057283003: Remove parts of //cc we aren't using (Closed) Base URL: git@github.com:domokit/mojo.git@master
Patch Set: Created 5 years, 9 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « cc/debug/micro_benchmark.h ('k') | cc/debug/micro_benchmark_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/debug/micro_benchmark.cc
diff --git a/cc/debug/micro_benchmark.cc b/cc/debug/micro_benchmark.cc
deleted file mode 100644
index 64629de165a79a86d09b7b2d4377cc05c0d7f5b3..0000000000000000000000000000000000000000
--- a/cc/debug/micro_benchmark.cc
+++ /dev/null
@@ -1,60 +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.
-
-#include "cc/debug/micro_benchmark.h"
-
-#include "base/callback.h"
-#include "base/logging.h"
-#include "base/memory/scoped_ptr.h"
-#include "base/message_loop/message_loop_proxy.h"
-#include "base/values.h"
-#include "cc/debug/micro_benchmark_impl.h"
-
-namespace cc {
-
-MicroBenchmark::MicroBenchmark(const DoneCallback& callback)
- : callback_(callback),
- is_done_(false),
- processed_for_benchmark_impl_(false),
- id_(0) {
-}
-
-MicroBenchmark::~MicroBenchmark() {}
-
-bool MicroBenchmark::IsDone() const {
- return is_done_;
-}
-
-void MicroBenchmark::DidUpdateLayers(LayerTreeHost* host) {}
-
-void MicroBenchmark::NotifyDone(scoped_ptr<base::Value> result) {
- callback_.Run(result.Pass());
- is_done_ = true;
-}
-
-void MicroBenchmark::RunOnLayer(Layer* layer) {}
-
-void MicroBenchmark::RunOnLayer(PictureLayer* layer) {}
-
-bool MicroBenchmark::ProcessMessage(scoped_ptr<base::Value> value) {
- return false;
-}
-
-bool MicroBenchmark::ProcessedForBenchmarkImpl() const {
- return processed_for_benchmark_impl_;
-}
-
-scoped_ptr<MicroBenchmarkImpl> MicroBenchmark::GetBenchmarkImpl(
- scoped_refptr<base::MessageLoopProxy> origin_loop) {
- DCHECK(!processed_for_benchmark_impl_);
- processed_for_benchmark_impl_ = true;
- return CreateBenchmarkImpl(origin_loop);
-}
-
-scoped_ptr<MicroBenchmarkImpl> MicroBenchmark::CreateBenchmarkImpl(
- scoped_refptr<base::MessageLoopProxy> origin_loop) {
- return make_scoped_ptr<MicroBenchmarkImpl>(nullptr);
-}
-
-} // namespace cc
« no previous file with comments | « cc/debug/micro_benchmark.h ('k') | cc/debug/micro_benchmark_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698