summaryrefslogtreecommitdiffstats
path: root/base/threading/post_task_and_reply_impl.h
diff options
context:
space:
mode:
authorskyostil <skyostil@chromium.org>2015-04-30 12:06:15 -0700
committerCommit bot <commit-bot@chromium.org>2015-04-30 19:07:34 +0000
commit054861d0934c663de3cea933e1d65fd8319856a6 (patch)
tree2a6a6a435179172b93bb3ed8adc5341ecfeab564 /base/threading/post_task_and_reply_impl.h
parent98bfd203088a09d06965e6fd6004471c1da13aa7 (diff)
downloadchromium_src-054861d0934c663de3cea933e1d65fd8319856a6.zip
chromium_src-054861d0934c663de3cea933e1d65fd8319856a6.tar.gz
chromium_src-054861d0934c663de3cea933e1d65fd8319856a6.tar.bz2
base: Remove most uses of MessageLoopProxy
Replace most usage of MessageLoopProxy under base/ with SingleThreadTaskRunner and ThreadTaskRunnerHandle (excluding the implementation of MessageLoopProxy itself which will removed later). This patch was mostly autogenerated with https://codereview.chromium.org/1010073002. Depends on https://codereview.chromium.org/1086733002/. BUG=465354 TBR=nkostylev@chromium.org,pkasting@chromium.org,pauljensen@chromium.org Review URL: https://codereview.chromium.org/1100773004 Cr-Commit-Position: refs/heads/master@{#327755}
Diffstat (limited to 'base/threading/post_task_and_reply_impl.h')
-rw-r--r--base/threading/post_task_and_reply_impl.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/base/threading/post_task_and_reply_impl.h b/base/threading/post_task_and_reply_impl.h
index 076a46d..a5b9580 100644
--- a/base/threading/post_task_and_reply_impl.h
+++ b/base/threading/post_task_and_reply_impl.h
@@ -3,7 +3,7 @@
// found in the LICENSE file.
// This file contains the implementation shared by
-// MessageLoopProxy::PostTaskAndReply and WorkerPool::PostTaskAndReply.
+// TaskRunner::PostTaskAndReply and WorkerPool::PostTaskAndReply.
#ifndef BASE_THREADING_POST_TASK_AND_REPLY_IMPL_H_
#define BASE_THREADING_POST_TASK_AND_REPLY_IMPL_H_
@@ -21,11 +21,11 @@ namespace internal {
// MessageLoop.
//
// If you're looking for a concrete implementation of
-// PostTaskAndReply, you probably want base::MessageLoopProxy, or you
+// PostTaskAndReply, you probably want base::SingleThreadTaskRunner, or you
// may want base::WorkerPool.
class PostTaskAndReplyImpl {
public:
- // Implementation for MessageLoopProxy::PostTaskAndReply and
+ // Implementation for TaskRunner::PostTaskAndReply and
// WorkerPool::PostTaskAndReply.
bool PostTaskAndReply(const tracked_objects::Location& from_here,
const Closure& task,