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

Unified Diff: base/message_loop.h

Issue 9086002: base::Bind: Remove Task. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Style fix. Created 8 years, 12 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/files/file_path_watcher_linux.cc ('k') | base/message_loop.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: base/message_loop.h
diff --git a/base/message_loop.h b/base/message_loop.h
index 2f66d26889fc4a1bdec3a7e157816c69a2385c8a..194de5aec6c8f5f2906cfb0508e97f97df59aaf1 100644
--- a/base/message_loop.h
+++ b/base/message_loop.h
@@ -162,36 +162,6 @@ class BASE_EXPORT MessageLoop : public base::MessagePump::Delegate {
//
// NOTE: These methods may be called on any thread. The Task will be invoked
// on the thread that executes MessageLoop::Run().
-
- void PostTask(
- const tracked_objects::Location& from_here, Task* task);
-
- void PostDelayedTask(
- const tracked_objects::Location& from_here, Task* task, int64 delay_ms);
-
- void PostDelayedTask(
- const tracked_objects::Location& from_here,
- Task* task,
- base::TimeDelta delay);
-
- void PostNonNestableTask(
- const tracked_objects::Location& from_here, Task* task);
-
- void PostNonNestableDelayedTask(
- const tracked_objects::Location& from_here, Task* task, int64 delay_ms);
-
- void PostNonNestableDelayedTask(
- const tracked_objects::Location& from_here,
- Task* task,
- base::TimeDelta delay);
-
- // TODO(ajwong): Remove the functions above once the Task -> Closure migration
- // is complete.
- //
- // There are 2 sets of Post*Task functions, one which takes the older Task*
- // function object representation, and one that takes the newer base::Closure.
- // We have this overload to allow a staged transition between the two systems.
- // Once the transition is done, the functions above should be deleted.
void PostTask(
const tracked_objects::Location& from_here,
const base::Closure& task);
« no previous file with comments | « base/files/file_path_watcher_linux.cc ('k') | base/message_loop.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698