Chromium Code Reviews| Index: third_party/WebKit/Source/platform/scheduler/child/scheduler_helper.h |
| diff --git a/third_party/WebKit/Source/platform/scheduler/child/scheduler_helper.h b/third_party/WebKit/Source/platform/scheduler/child/scheduler_helper.h |
| index 220ab7a8a29d68c349de8a997fb094ad5989ddd2..65e6f8ab13d8e87ce3faae8fa3b23a16f0f52674 100644 |
| --- a/third_party/WebKit/Source/platform/scheduler/child/scheduler_helper.h |
| +++ b/third_party/WebKit/Source/platform/scheduler/child/scheduler_helper.h |
| @@ -28,8 +28,19 @@ class BLINK_PLATFORM_EXPORT SchedulerHelper |
| const char* tracing_category, |
| const char* disabled_by_default_tracing_category, |
| const char* disabled_by_default_verbose_tracing_category); |
| + SchedulerHelper( |
| + scoped_refptr<SchedulerTqmDelegate> task_queue_manager_delegate, |
| + const char* tracing_category, |
| + const char* disabled_by_default_tracing_category, |
| + const char* disabled_by_default_verbose_tracing_category, |
| + TaskQueue::Spec default_task_queue_spec); |
| ~SchedulerHelper() override; |
| + // There is a small overhead to recording task delay histograms, we may not |
|
Sami
2016/12/07 16:13:43
nit: reflow
alex clarke (OOO till 29th)
2016/12/08 17:38:49
Done.
|
| + // wish |
| + // to do this on all threads. |
| + void SetRecordTaskDelayHistograms(bool record_task_delay_histograms); |
| + |
| // TaskQueueManager::Observer implementation: |
| void OnUnregisterTaskQueue(const scoped_refptr<TaskQueue>& queue) override; |
| void OnTriedToExecuteBlockedTask(const TaskQueue& queue, |