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

Unified Diff: base/task_scheduler/task_traits.cc

Issue 2603603002: Remove deprecated methods TaskTraits::WithFileIO()/WithWait(). (Closed)
Patch Set: Created 4 years 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/task_traits.h ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/task_scheduler/task_traits.cc
diff --git a/base/task_scheduler/task_traits.cc b/base/task_scheduler/task_traits.cc
index 3cd6a61da69d2ada418db6e05f9d810f4a29be8b..580fdeb20b5d345c08a9b9e6bf705bc140958965 100644
--- a/base/task_scheduler/task_traits.cc
+++ b/base/task_scheduler/task_traits.cc
@@ -34,14 +34,6 @@ TaskTraits& TaskTraits::WithSyncPrimitives() {
return *this;
}
-TaskTraits& TaskTraits::WithFileIO() {
- return MayBlock();
-}
-
-TaskTraits& TaskTraits::WithWait() {
- return MayBlock().WithSyncPrimitives();
-}
-
TaskTraits& TaskTraits::WithPriority(TaskPriority priority) {
priority_ = priority;
return *this;
« no previous file with comments | « base/task_scheduler/task_traits.h ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698