commit | b8d7ea002b1eb73ac809d2d63f60b60c9cd0cccf | [log] [tgz] |
---|---|---|
author | Ryan Sleevi <[email protected]> | Mon May 07 20:01:01 2018 |
committer | Commit Bot <[email protected]> | Mon May 07 20:01:01 2018 |
tree | 7675604fe21b7a8c765606fabcf1b228d8d52136 | |
parent | 3d728410335cd45fcd30ee010a5c1a830cdd0b43 [diff] |
Switch //net SocketDataProviders to base::span<> Currently, the SocketDataProvider interfaces in //net their parameters in the generalized form of (T* stuff, size_t stuff_len) pairs of arguments. Rather than use this error-prone pattern, switch it over to base::span<> and propagate it through to callers and their respective functions. This has the side-effect of substantially reducing the use of arraysize() in //net, thus reducing the risk of tripping the PRESUBMIT warning as part of https://crbug.com/837308 BUG=837308 [email protected] Cq-Include-Trybots: master.tryserver.chromium.linux:linux_mojo Change-Id: Ic4f950f149b11061e819b546f3a6d45fc0216f58 Reviewed-on: https://chromium-review.googlesource.com/1045798 Commit-Queue: Ryan Sleevi <[email protected]> Reviewed-by: Tarun Bansal <[email protected]> Reviewed-by: Derek Cheng <[email protected]> Reviewed-by: David Benjamin <[email protected]> Reviewed-by: Helen Li <[email protected]> Reviewed-by: Sergey Ulanov <[email protected]> Cr-Commit-Position: refs/heads/master@{#556538}
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 .