Index: cc/trees/layer_tree_host.h |
diff --git a/cc/trees/layer_tree_host.h b/cc/trees/layer_tree_host.h |
index 793cd69c253e782ea1cc8d44553ff1755dda0591..c6a38c2b4d3e342b020185fe63a9c67c568d1679 100644 |
--- a/cc/trees/layer_tree_host.h |
+++ b/cc/trees/layer_tree_host.h |
@@ -275,9 +275,11 @@ class CC_EXPORT LayerTreeHost { |
bool UsingSharedMemoryResources(); |
int id() const { return id_; } |
- bool ScheduleMicroBenchmark(const std::string& benchmark_name, |
- scoped_ptr<base::Value> value, |
- const MicroBenchmark::DoneCallback& callback); |
+ int ScheduleMicroBenchmark(const std::string& benchmark_name, |
+ scoped_ptr<base::Value> value, |
+ const MicroBenchmark::DoneCallback& callback); |
+ // Returns the id of the benchmark on success, 0 otherwise. |
vmpstr
2014/05/28 22:07:29
nit: comment is in the wrong place, but you can ha
ernstm
2014/05/28 22:29:22
Done.
|
+ bool SendMessageToMicroBenchmark(int id, scoped_ptr<base::Value> value); |
// When a SwapPromiseMonitor is created on the main thread, it calls |
// InsertSwapPromiseMonitor() to register itself with LayerTreeHost. |