Updates to StringSplit implementation

Remove the deprecated StringSplit implementation. The header declarations and all external uses were already removed, but the actual implementation was not removed.

It was still used by SplitStringIntoKeyValuePairs which is now updated to use the new version.

Both the key/value splitter and the substring variants have been updated to avoid many intermediate copies.

Updates the name of a trim whitespace variant in string_util to match the header. This is currently unused but was provided for symmetry before.

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

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


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