| Index: base/pending_task.h
|
| diff --git a/base/pending_task.h b/base/pending_task.h
|
| index 5761653397e0e5d011522f56e786fa1cbbbcc373..a55fa518ea070e61ae4d4d23139731e86db5ac15 100644
|
| --- a/base/pending_task.h
|
| +++ b/base/pending_task.h
|
| @@ -18,10 +18,9 @@ namespace base {
|
| // Contains data about a pending task. Stored in TaskQueue and DelayedTaskQueue
|
| // for use by classes that queue and execute tasks.
|
| struct BASE_EXPORT PendingTask : public TrackingInfo {
|
| + PendingTask(const tracked_objects::Location& posted_from, OnceClosure task);
|
| PendingTask(const tracked_objects::Location& posted_from,
|
| - Closure task);
|
| - PendingTask(const tracked_objects::Location& posted_from,
|
| - Closure task,
|
| + OnceClosure task,
|
| TimeTicks delayed_run_time,
|
| bool nestable);
|
| PendingTask(PendingTask&& other);
|
| @@ -33,7 +32,7 @@ struct BASE_EXPORT PendingTask : public TrackingInfo {
|
| bool operator<(const PendingTask& other) const;
|
|
|
| // The task to run.
|
| - Closure task;
|
| + OnceClosure task;
|
|
|
| // The site this PendingTask was posted from.
|
| tracked_objects::Location posted_from;
|
|
|