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

Unified Diff: base/task_scheduler/task_tracker.h

Issue 2386653002: Replace base::Callback with base::OnceCallback in base::PendingTask (Closed)
Patch Set: revert most of task_scheduler changes 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
Index: base/task_scheduler/task_tracker.h
diff --git a/base/task_scheduler/task_tracker.h b/base/task_scheduler/task_tracker.h
index 93769f1751bc1525c8c1cf13cf19b271ea6b1567..1d6599471328eabc8744325d029f7e045996af13 100644
--- a/base/task_scheduler/task_tracker.h
+++ b/base/task_scheduler/task_tracker.h
@@ -57,7 +57,7 @@ class BASE_EXPORT TaskTracker {
// |sequence_token| is the token identifying the sequence from which |task|
// was extracted. Returns true if |task| ran. WillPostTask() must have allowed
// |task| to be posted before this is called.
fdoray 2016/10/06 17:37:22 // |task| is non-const to allow running its OnceCl
tzik 2016/10/13 05:58:04 It's now obsolete after your CL, right? Its type i
- bool RunTask(const Task* task, const SequenceToken& sequence_token);
+ bool RunTask(Task* task, const SequenceToken& sequence_token);
// Returns true once shutdown has started (Shutdown() has been called but
// might not have returned). Note: sequential consistency with the thread

Powered by Google App Engine
This is Rietveld 408576698