`span`-ify `mojo/.../data_pipe.h`: Migrate `google_apis/gcm`.

`span`-ification: `mojo::DataPipe[Consumer|Producer]Handle`: Migrating
callers.  This CL `span`-ifies the callers of the APIs in
`mojo/public/cpp/system/data_pipe.h`:

* `BeginReadData` and `BeginWriteData` return (via an out parameter)
  a `span` instead of returning a ptr+size pair.
* `ReadData` and `WriteData` consume a `span` instead of consuming
  a ptr+size pair.

For more details see the design note here:
https://docs.google.com/document/d/1c4NKpXwpQ9MKK1SbJ4C6MvhXI8-KJZ4jq7N4VHTHJoI/edit?usp=sharing

This CL was uploaded by git cl split.

R=peter@chromium.org

Bug: 40284755
Change-Id: I757dc375d29815226b7e26db7d3933be1161ea74
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5619271
Reviewed-by: Alex Ilin <alexilin@chromium.org>
Commit-Queue: Ɓukasz Anforowicz <lukasza@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1314613}
NOKEYCHECK=True
GitOrigin-RevId: c950d9cbc038439577aaa0005de0722b578ea357
2 files changed