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

Unified Diff: base/task_runner.h

Issue 1048373003: CancelableTaskTracker::PostDelayedTask() support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 5 years, 9 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_runner.h
diff --git a/base/task_runner.h b/base/task_runner.h
index 7d07b8ceb028ae3a06842b6823e320e70a70997e..8f39b909c66bccd4ed79c73e7840456ceaaa4bb0 100644
--- a/base/task_runner.h
+++ b/base/task_runner.h
@@ -128,6 +128,11 @@ class BASE_EXPORT TaskRunner
const Closure& task,
const Closure& reply);
+ bool PostDelayedTaskAndReply(const tracked_objects::Location& from_here,
+ const Closure& task,
+ const Closure& reply,
+ TimeDelta delay);
+
protected:
friend struct TaskRunnerTraits;

Powered by Google App Engine
This is Rietveld 408576698