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

Unified Diff: base/task_scheduler/task.h

Issue 1890163003: TaskScheduler: Add delayed run time to the constructor of Task. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@7_sequenced
Patch Set: Created 4 years, 8 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 | « base/task_scheduler/sequence_unittest.cc ('k') | base/task_scheduler/task.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/task_scheduler/task.h
diff --git a/base/task_scheduler/task.h b/base/task_scheduler/task.h
index 6ac483d524916935e620f054001b07540131bb35..1f6ac4dc5572d436f2161df09b0ccd678199ddad 100644
--- a/base/task_scheduler/task.h
+++ b/base/task_scheduler/task.h
@@ -20,7 +20,8 @@ namespace internal {
struct BASE_EXPORT Task : public PendingTask {
Task(const tracked_objects::Location& posted_from,
gab 2016/04/18 16:20:39 Also, I don't mind forcing the explicit parameter
fdoray 2016/04/18 16:33:44 I prefer forcing |delayed_run_time| because it is
gab 2016/04/18 17:00:13 Good point, hadn't realized all other uses were fo
const Closure& task,
- const TaskTraits& traits);
+ const TaskTraits& traits,
+ const TimeTicks& delayed_run_time);
gab 2016/04/18 16:12:14 Document parameters (in particular is |delayed_run
fdoray 2016/04/18 16:33:44 Done.
~Task();
// The TaskTraits of this task.
« no previous file with comments | « base/task_scheduler/sequence_unittest.cc ('k') | base/task_scheduler/task.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698