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

Unified Diff: base/task_scheduler/scheduler_service_thread.cc

Issue 2399213005: TaskScheduler: Change Sequence::PeekTask to Sequence::TakeTask. (Closed)
Patch Set: CR robliao #5 Created 4 years, 2 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 | « no previous file | base/task_scheduler/scheduler_worker.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/task_scheduler/scheduler_service_thread.cc
diff --git a/base/task_scheduler/scheduler_service_thread.cc b/base/task_scheduler/scheduler_service_thread.cc
index 9f6936ba47a8c65b86f2914a6029ada90b37b170..e592907e4474e2f74bf2ade2224c0d9e8ebea70e 100644
--- a/base/task_scheduler/scheduler_service_thread.cc
+++ b/base/task_scheduler/scheduler_service_thread.cc
@@ -35,7 +35,8 @@ class ServiceThreadDelegate : public SchedulerWorker::Delegate {
return nullptr;
}
- void DidRunTask(const Task* task, const TimeDelta& task_latency) override {
+ void DidRunTaskWithPriority(TaskPriority task_priority,
+ const TimeDelta& task_latency) override {
NOTREACHED()
<< "GetWork() never returns a sequence so no task should ever run.";
}
« no previous file with comments | « no previous file | base/task_scheduler/scheduler_worker.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698