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

Unified Diff: components/scheduler/child/scheduler_helper.cc

Issue 1432263002: (reland) Adds TimeDomains to the TaskQueueManager (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix thread_hop_task DCHECK Created 5 years, 1 month 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 | « components/scheduler/child/scheduler_helper.h ('k') | components/scheduler/scheduler.gypi » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: components/scheduler/child/scheduler_helper.cc
diff --git a/components/scheduler/child/scheduler_helper.cc b/components/scheduler/child/scheduler_helper.cc
index 9056e2bb2c8421093e4902751dee21ff2336f120..f4081fde958130a00da733500bc63f0b8f37256c 100644
--- a/components/scheduler/child/scheduler_helper.cc
+++ b/components/scheduler/child/scheduler_helper.cc
@@ -96,11 +96,6 @@ SchedulerHelper::scheduler_tqm_delegate() const {
return task_queue_manager_delegate_;
}
-base::TimeTicks SchedulerHelper::NextPendingDelayedTaskRunTime() const {
- CheckOnValidThread();
- DCHECK(task_queue_manager_.get());
- return task_queue_manager_->NextPendingDelayedTaskRunTime();
-}
bool SchedulerHelper::GetAndClearSystemIsQuiescentBit() {
CheckOnValidThread();
@@ -135,4 +130,10 @@ void SchedulerHelper::OnUnregisterTaskQueue(
observer_->OnUnregisterTaskQueue(queue);
}
+const scoped_refptr<RealTimeDomain>& SchedulerHelper::real_time_domain() const {
+ CheckOnValidThread();
+ DCHECK(task_queue_manager_);
+ return task_queue_manager_->real_time_domain();
+}
+
} // namespace scheduler
« no previous file with comments | « components/scheduler/child/scheduler_helper.h ('k') | components/scheduler/scheduler.gypi » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698