DescriptionReplace base::Callback with base::OnceCallback in base::PendingTask
After this CL, PendingTask holds the posted task as OnceClosure. And to
do that, PendingTasks get non-const on a task invocation, due to the
mutation the posted task for the consumption by the task invocation.
BUG=554299
Committed: https://crrev.com/739ffe3fd7b83bcb9ef7eb2e4b5c52fdbf35f59d
Cr-Commit-Position: refs/heads/master@{#425318}
Patch Set 1 #Patch Set 2 : fix #Patch Set 3 : rebase #Patch Set 4 : fix #Patch Set 5 : fix #Patch Set 6 : cros fix #Patch Set 7 : test fix (will refine later) #Patch Set 8 : revert most of task_scheduler changes #
Total comments: 12
Patch Set 9 : rebase onto fdoray's http://crrev.com/2399213005 #Patch Set 10 : rebase #
Total comments: 2
Patch Set 11 : move UnsafeConvertOnceClosureToRepeating #
Messages
Total messages: 60 (47 generated)
|