Extend accepted functors on base::Bind{Once,Repeating}
This CL allows empty functors on base::BindOnce and base::Repeating, and
adds base::BindLambdaForTesting that is a test-only variant of Bind that
binds any callable object to a RepeatingCallback.
Bug: 789805
Change-Id: I7fa34acd2a6b79e8c26d3f6ded67e91bd8d6b966
Reviewed-on: https://chromium-review.googlesource.com/798817
Commit-Queue: Taiju Tsuiki <tzik@chromium.org>
Reviewed-by: Daniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/master@{#521192}
CrOS-Libchrome-Original-Commit: f98654bbf86a0d88a72ed9a6fcef80931fd5e977
4 files changed