0
Files
src/ipc
Tom Sepez f9659c2f1b Use safer forms of base::File::Read*() and Write*() methods.
Prefer the span form over the discrete ptr/length ones, since the
latter will likely be marked UNSAFE_BUFFER_USAGE in a future Cl. At
which point using those forms will require special annotations.

-- Update to use optional<> return value in callers.
-- Use ...AndCheck() methods in place of length comparisons.
-- Convert some literals from strings to string_views.

Change-Id: I178fb720d94436afc8b862521a6a2dbd47724d04
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5773711
Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com>
Commit-Queue: Nico Weber <thakis@chromium.org>
Owners-Override: Nico Weber <thakis@chromium.org>
Reviewed-by: Nico Weber <thakis@chromium.org>
Cr-Commit-Position: refs/heads/main@{#1340078}
2024-08-10 17:26:50 +00:00
..
2024-05-09 19:55:50 +00:00