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 3a62d523cb115f7e3525062b30452e51e1838c52..4659927f81d32d03ed3ac13d715f45d17bfd8d99 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,18 @@ 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 |
+ // 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, |