libchrome: JsonReader::ReadAndReturnValueWithError return base::expected

Migration for the function to return base::expected instead of
base::JSONReader::ValueWithError is completed.
Cherry-pick the upstream change r1017954 and remove the forward
compatibility change that added stubs to the old struct.

BUG=b:238297537
TEST=CQ

Change-Id: I1ef95216b1f45a525710fcd34c765d76cff21387
Reviewed-on: https://chromium-review.googlesource.com/c/chromiumos/platform/libchrome/+/3882043
Commit-Queue: Grace Cham <hscham@chromium.org>
Tested-by: Grace Cham <hscham@chromium.org>
Reviewed-by: Qijiang YĆ«ki Ishii <fqj@google.com>
3 files changed
tree: 96721fa0b0bed53b4b317192c6e3f553df937401
  1. base/
  2. build/
  3. components/
  4. crypto/
  5. dbus/
  6. device/
  7. ipc/
  8. libchrome_tools/
  9. mojo/
  10. soong/
  11. testing/
  12. third_party/
  13. ui/
  14. .gitignore
  15. BASE_VER
  16. BUILD.gn
  17. BUILD.IGNORE
  18. DIR_METADATA
  19. MODULE_LICENSE_BSD
  20. NOTICE
  21. OWNERS
  22. PRESUBMIT.cfg
  23. README.md
  24. testrunner.cc
  25. unblocked_terms.txt
README.md

libchrome

Overview

This directory includes the source from Chrome's libbase for use in Chrome OS.

See libchrome.md for more info.