Chromium Code Reviews| 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..bbcfec975c8c017013c1612febcf33913105c65b 100644 |
| --- a/cc/trees/layer_tree_host.h |
| +++ b/cc/trees/layer_tree_host.h |
| @@ -275,9 +275,10 @@ 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, |
|
vmpstr
2014/05/28 21:16:25
Comment about the return value please
ernstm
2014/05/28 21:51:55
Done.
|
| + scoped_ptr<base::Value> value, |
| + const MicroBenchmark::DoneCallback& callback); |
| + 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. |