commit | e82b7e81313573af55276ed1d491f955e879e38d | [log] [tgz] |
---|---|---|
author | tzik <tzik@chromium.org> | Fri Oct 14 23:34:58 2016 +0900 |
committer | Qijiang Fan <fqj@google.com> | Fri Jun 05 04:24:47 2020 +0900 |
tree | ac24c1205c44e53eb881a389bb8e98ae63acc10c | |
parent | d1b9eef5bbeac1dd1c270ea2d4ad24c7c3cc0099 [diff] |
Replace 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 Review-Url: https://codereview.chromium.org/2386653002 Cr-Commit-Position: refs/heads/master@{#425318} CrOS-Libchrome-Original-Commit: 739ffe3fd7b83bcb9ef7eb2e4b5c52fdbf35f59d