Commit c8b3e249 authored by Matt Reynolds's avatar Matt Reynolds Committed by Commit Bot

Convert base::Bind in bind_to_current_loop.h file comment

base::BindToCurrentLoop already uses Once/RepeatingCallbacks but the
file-level comment still refers to base::Bind. This CL updates the
comment to refer to the new types.

BUG=1007799

Change-Id: Ib8005e301f6d3d729570dda8102673d636fb61d4
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2283060Reviewed-by: default avatarChrome Cunningham <chcunningham@chromium.org>
Commit-Queue: Matt Reynolds <mattreynolds@chromium.org>
Auto-Submit: Matt Reynolds <mattreynolds@chromium.org>
Cr-Commit-Position: refs/heads/master@{#785923}
parent 8c0fee07
...@@ -13,10 +13,10 @@ ...@@ -13,10 +13,10 @@
#include "base/single_thread_task_runner.h" #include "base/single_thread_task_runner.h"
#include "base/threading/sequenced_task_runner_handle.h" #include "base/threading/sequenced_task_runner_handle.h"
// This is a helper utility for base::Bind()ing callbacks to a given // This is a helper utility for binding a OnceCallback or RepeatingCallback to a
// TaskRunner. The typical use is when |a| (of class |A|) wants to hand a // given TaskRunner. The typical use is when |a| (of class |A|) wants to hand a
// callback such as base::Bind(&A::AMethod, a) to |b|, but needs to ensure that // callback such as base::BindOnce(&A::AMethod, a) to |b|, but needs to ensure
// when |b| executes the callback, it does so on |a|'s task_runner's // that when |b| executes the callback, it does so on |a|'s task_runner's
// MessageLoop. // MessageLoop.
// //
// Typical usage: request to be called back on the current thread: // Typical usage: request to be called back on the current thread:
......
Markdown is supported
0%
or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment