Use base::StringTokenizer::token_piece() when std::string is not needed.

base::StringTokenizer::token() creates a new std::string each time. Many
callers do not even need a std::string, so just update them to use
token_piece() instead.

This CL was uploaded by git cl split.

R=mmenke@chromium.org

Bug: 1199547
Change-Id: I86c938f618ab6659a7f26f1b4e4fe1c53dc58c5f
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2833279
Auto-Submit: Daniel Cheng <dcheng@chromium.org>
Reviewed-by: Matt Menke <mmenke@chromium.org>
Commit-Queue: Daniel Cheng <dcheng@chromium.org>
Cr-Commit-Position: refs/heads/master@{#874195}
GitOrigin-RevId: ba4862010a33bc28223dbad420ac6d4a4b1120b1
2 files changed