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

Side by Side Diff: cc/debug/micro_benchmark_controller.cc

Issue 1971783002: Fix include path for moved thread_task_runner_handle.h header in cc/ (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@a1_move_task_runner_handle
Patch Set: Created 4 years, 7 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 unified diff | Download patch
« no previous file with comments | « cc/base/unique_notifier_unittest.cc ('k') | cc/layers/layer_perftest.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
1 // Copyright 2013 The Chromium Authors. All rights reserved. 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 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #include "cc/debug/micro_benchmark_controller.h" 5 #include "cc/debug/micro_benchmark_controller.h"
6 6
7 #include <limits> 7 #include <limits>
8 #include <string> 8 #include <string>
9 9
10 #include "base/callback.h" 10 #include "base/callback.h"
11 #include "base/memory/ptr_util.h" 11 #include "base/memory/ptr_util.h"
12 #include "base/thread_task_runner_handle.h" 12 #include "base/threading/thread_task_runner_handle.h"
13 #include "base/values.h" 13 #include "base/values.h"
14 #include "cc/debug/invalidation_benchmark.h" 14 #include "cc/debug/invalidation_benchmark.h"
15 #include "cc/debug/rasterize_and_record_benchmark.h" 15 #include "cc/debug/rasterize_and_record_benchmark.h"
16 #include "cc/debug/unittest_only_benchmark.h" 16 #include "cc/debug/unittest_only_benchmark.h"
17 #include "cc/trees/layer_tree_host.h" 17 #include "cc/trees/layer_tree_host.h"
18 #include "cc/trees/layer_tree_host_impl.h" 18 #include "cc/trees/layer_tree_host_impl.h"
19 19
20 namespace cc { 20 namespace cc {
21 21
22 int MicroBenchmarkController::next_id_ = 1; 22 int MicroBenchmarkController::next_id_ = 1;
(...skipping 91 matching lines...) Expand 10 before | Expand all | Expand 10 after
114 void MicroBenchmarkController::CleanUpFinishedBenchmarks() { 114 void MicroBenchmarkController::CleanUpFinishedBenchmarks() {
115 benchmarks_.erase( 115 benchmarks_.erase(
116 std::remove_if(benchmarks_.begin(), benchmarks_.end(), 116 std::remove_if(benchmarks_.begin(), benchmarks_.end(),
117 [](const std::unique_ptr<MicroBenchmark>& benchmark) { 117 [](const std::unique_ptr<MicroBenchmark>& benchmark) {
118 return benchmark->IsDone(); 118 return benchmark->IsDone();
119 }), 119 }),
120 benchmarks_.end()); 120 benchmarks_.end());
121 } 121 }
122 122
123 } // namespace cc 123 } // namespace cc
OLDNEW
« no previous file with comments | « cc/base/unique_notifier_unittest.cc ('k') | cc/layers/layer_perftest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698