Chromium Code Reviews| Index: include/v8-profiler.h |
| diff --git a/include/v8-profiler.h b/include/v8-profiler.h |
| index 7898fef1967f0c86df5fd6d94fde20d3575eb423..062b4c6bc9c680da5267436164b904156f126c77 100644 |
| --- a/include/v8-profiler.h |
| +++ b/include/v8-profiler.h |
| @@ -222,6 +222,11 @@ class V8EXPORT CpuProfiler { |
| */ |
| void DeleteAllCpuProfiles(); |
| + /** |
| + * Tells the profiler whether the embedder is idle. |
| + */ |
| + void SetIdle(bool is_idle); |
| + |
| private: |
| CpuProfiler(); |
| ~CpuProfiler(); |