commit | dadd6c744780a52e046cd33d3328426a861bfdc1 | [log] [tgz] |
---|---|---|
author | Matt Menke <[email protected]> | Tue Jan 30 23:07:25 2018 |
committer | Commit Bot <[email protected]> | Tue Jan 30 23:07:25 2018 |
tree | cbdbbad17023532d90a0cbb597c36cca62249057 | |
parent | 006fd61c7c9404c13995ec1bb34fdd7645e6f4cd [diff] |
Introduce net::CompletionOnceCallback. Also convert net::FileStreamContext to use it, as a sample use case with few consumers. This CL does not add a OnceCallback version of TestCompletionCallback, as the repeating version works for use with methods that take OnceCallbacks. I think not creating a new test class will make updating interfaces take a lot less effort. Also, I expect that all net::CompletionCallbacks are effectively used as OnceCallbacks, so we can make TestCompletionCallback return OnceCallbacks when/if we ever finish converting all of net to use CompletionOnceCallbacks. Bug: 714018 Change-Id: Iec76deae075b32fe0c65eb18596859f5e6413647 Reviewed-on: https://chromium-review.googlesource.com/853092 Commit-Queue: Matt Menke <[email protected]> Reviewed-by: Randy Smith <[email protected]> Cr-Commit-Position: refs/heads/master@{#533061}
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 .