Replace some Tokenize calls with SplitString.

Tokenize is now a legacy wrapper around a particular variant of SplitString call. I want to remove the Tokenize wrappers.

This patch uses the StringPiece version in obvious cases which saves allocations, and in many places removes the vector temporary in preferences to a range-based for loop.

Review URL: https://codereview.chromium.org/1197243004

Cr-Commit-Position: refs/heads/master@{#335856}


CrOS-Libchrome-Original-Commit: 37fd9d7d258626d3a1bd6db9fc99c97f981c21b1
5 files changed
tree: 7d4992020ab5354be70ea553c36c8399023a6fdd
  1. base/
  2. build/
  3. components/
  4. dbus/
  5. device/
  6. ipc/
  7. mojo/
  8. testing/
  9. third_party/
  10. ui/