Make base::IsValidGUID() accept GUID strings in lowercase.

It's pretty common that GUID strings express hex digits in lowercase.
This CL modifies base::IsValidGUID() to also accept GUID strings in
lowercase, so that the function can be used to validate GUIDs not
generated by base::GenerateGUID().

BUG=None
TEST=base_unittests

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

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


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