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

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

Issue 2640303002: Add an api to disable recording task delay histogrames (Closed)
Patch Set: Fix bad merge Created 3 years, 11 months 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
« no previous file with comments | « third_party/WebKit/Source/platform/scheduler/child/scheduler_helper.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: third_party/WebKit/Source/platform/scheduler/child/scheduler_helper.cc
diff --git a/third_party/WebKit/Source/platform/scheduler/child/scheduler_helper.cc b/third_party/WebKit/Source/platform/scheduler/child/scheduler_helper.cc
index f33bffaae49ef0ce5fa2f3b9654fbb1ff54412e6..a7bea780d6eeef26fb78f236670757758501245c 100644
--- a/third_party/WebKit/Source/platform/scheduler/child/scheduler_helper.cc
+++ b/third_party/WebKit/Source/platform/scheduler/child/scheduler_helper.cc
@@ -55,6 +55,15 @@ void SchedulerHelper::Shutdown() {
task_queue_manager_delegate_->RestoreDefaultTaskRunner();
}
+void SchedulerHelper::SetRecordTaskDelayHistograms(
+ bool record_task_delay_histograms) {
+ if (!task_queue_manager_)
+ return;
+
+ task_queue_manager_->SetRecordTaskDelayHistograms(
+ record_task_delay_histograms);
+}
+
scoped_refptr<TaskQueue> SchedulerHelper::NewTaskQueue(
const TaskQueue::Spec& spec) {
DCHECK(task_queue_manager_.get());
« no previous file with comments | « third_party/WebKit/Source/platform/scheduler/child/scheduler_helper.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698