commit | 591a997f9b42806d3af3dec8b5fd742dfd1d1386 | [log] [tgz] |
---|---|---|
author | Claudio DeSouza <[email protected]> | Wed Feb 21 17:27:16 2018 |
committer | Commit Bot <[email protected]> | Wed Feb 21 17:27:16 2018 |
tree | 4c7c8e174e6182e6f151c4a31f8609b444361647 | |
parent | 88f12f0b9748f9e9ea300b5b8fe2648d86b5a5d3 [diff] |
Remove some use of base::Passed As proposed on chromium-dev recently, there seem to be no reason to keep base::Passed around. In most cases where base::Passed is used, OnceCallback should be preferred, specially because base::Passed is going to transfer ownership of whatever was passed on its following run, and mostly behaving as the intended purpose for OnceCallback. This CL provides a good number of changes for the most straight forward cases that do not involve changing any public interface. The code changed is mainly from //base, //component, //crypto, and //device. Original forum discussion can be found here: https://groups.google.com/a/chromium.org/d/msgid/chromium-dev/abdff810-4359-41a5-8aa9-cd596c784bf5%40chromium.org?utm_medium=email&utm_source=footer Bug: 812523 Cq-Include-Trybots: master.tryserver.chromium.android:android_cronet_tester;master.tryserver.chromium.android:android_optional_gpu_tests_rel;master.tryserver.chromium.mac:ios-simulator-cronet Change-Id: I7b8c95cee091475602dca240fca9fa843218c563 Reviewed-on: https://chromium-review.googlesource.com/923262 Reviewed-by: Jochen Eisinger <[email protected]> Reviewed-by: Daniel Cheng <[email protected]> Reviewed-by: Max Morin <[email protected]> Commit-Queue: Max Morin <[email protected]> Cr-Commit-Position: refs/heads/master@{#538143}
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 .