
This is a re-split of a previously split CL. This is of concern when passing vectors and strings, as unintended (and often expensive) copies occur under the covers. Apply some of the following (depending on split): -- Make non-const and move in callee where appropriate. -- Convert to string_view where appropriate. -- Avoid stray const in a few places This CL was uploaded by git cl split. R=amandadeacon@chromium.org, khorimoto@chromium.org Bug: 369952985 Change-Id: Iac5ee797933bb4576602fd9b0330f5d263fabea7 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5914455 Reviewed-by: Amanda Deacon <amandadeacon@chromium.org> Commit-Queue: Ying Hsu <yinghsu@chromium.org> Auto-Submit: Tom Sepez <tsepez@chromium.org> Reviewed-by: Ying Hsu <yinghsu@chromium.org> Cr-Commit-Position: refs/heads/main@{#1374486}