Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(149)

Unified Diff: third_party/WebKit/Source/platform/scheduler/child/scheduler_helper.h

Issue 2546423002: [Try # 3] Scheduler refactoring to virtually eliminate redundant DoWorks (Closed)
Patch Set: Rebased Created 4 years ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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,

Powered by Google App Engine
This is Rietveld 408576698