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

Unified Diff: cc/debug/micro_benchmark_controller.h

Issue 67563002: cc: Plumbing for impl thread micro benchmarks (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: speculative fix Created 7 years, 1 month 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.cc ('k') | cc/debug/micro_benchmark_controller.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: cc/debug/micro_benchmark_controller.h
diff --git a/cc/debug/micro_benchmark_controller.h b/cc/debug/micro_benchmark_controller.h
index 63cf9c7a8d475cdadf5bf7334de76ce1526e4943..7220dc1778fa7b0cef4570699056b272fba0608d 100644
--- a/cc/debug/micro_benchmark_controller.h
+++ b/cc/debug/micro_benchmark_controller.h
@@ -14,14 +14,14 @@
namespace base {
class Value;
+class MessageLoopProxy;
} // namespace base
namespace cc {
class LayerTreeHost;
-class Layer;
-class PictureLayer;
-class MicroBenchmarkController {
+class LayerTreeHostImpl;
+class CC_EXPORT MicroBenchmarkController {
public:
explicit MicroBenchmarkController(LayerTreeHost* host);
~MicroBenchmarkController();
@@ -32,11 +32,14 @@ class MicroBenchmarkController {
scoped_ptr<base::Value> value,
const MicroBenchmark::DoneCallback& callback);
+ void ScheduleImplBenchmarks(LayerTreeHostImpl* host_impl);
+
private:
void CleanUpFinishedBenchmarks();
LayerTreeHost* host_;
ScopedPtrVector<MicroBenchmark> benchmarks_;
+ scoped_refptr<base::MessageLoopProxy> main_controller_message_loop_;
DISALLOW_COPY_AND_ASSIGN(MicroBenchmarkController);
};
« no previous file with comments | « cc/debug/micro_benchmark.cc ('k') | cc/debug/micro_benchmark_controller.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698