commit | 4dc6fad728c2b87d27ab5c5ef757c687c3bc5bf5 | [log] [tgz] |
---|---|---|
author | Jan Wilken Dörrie <jdoerrie@chromium.org> | Wed May 22 07:27:56 2019 |
committer | Commit Bot <commit-bot@chromium.org> | Wed May 22 07:27:56 2019 |
tree | 671a1525085469e71f6771f774e1c65654a74bf2 | |
parent | 437d9b679ae97cc0c80d49fe55ecf61a9cecac1a [diff] |
[base] Support mutable Lambdas in BindLambdaForTesting This change adds support for mutable lambdas to base::BindLambdaForTesting. Since a mutable lambda might invalidate its state after being run once, the returned Callback is a base::OnceCallback instead of a base::RepeatingCallback. Bug: 789805 Change-Id: Ie8a1ffe2f8001ca7f75a9e3626638feb11c5c9d5 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1617452 Commit-Queue: Jan Wilken Dörrie <jdoerrie@chromium.org> Reviewed-by: Daniel Cheng <dcheng@chromium.org> Cr-Commit-Position: refs/heads/master@{#662083}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .