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

Unified Diff: base/threading/worker_pool.cc

Issue 1048373003: CancelableTaskTracker::PostDelayedTask() support (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: remove unnecessary base:: 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
« no previous file with comments | « base/threading/post_task_and_reply_impl.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/threading/worker_pool.cc
diff --git a/base/threading/worker_pool.cc b/base/threading/worker_pool.cc
index bc016cec0d9d29bd492a0a9b6ea285c92e8459c6..bb8dcfae9a18847bcf93896de10466331725d82b 100644
--- a/base/threading/worker_pool.cc
+++ b/base/threading/worker_pool.cc
@@ -28,6 +28,14 @@ class PostTaskAndReplyWorkerPool : public internal::PostTaskAndReplyImpl {
return WorkerPool::PostTask(from_here, task, task_is_slow_);
}
+ bool PostDelayedTask(
+ const tracked_objects::Location& from_here,
+ const Closure& task,
+ const TimeDelta& delay) override {
+ DLOG(ERROR) << "PostDelayedTask is not supported in WorkerPool.";
+ return false;
+ }
+
bool task_is_slow_;
};
« no previous file with comments | « base/threading/post_task_and_reply_impl.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698