Convert away from method JSONReader::ReadDeprecated

Replace usage to instead use JSONReader::Read that returns a
base::Optional<base::Value>.

Bug: 925165
Change-Id: I31077cd95a605796ef5b08a7e6d1a963afdb1dd6
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1503752
Commit-Queue: Sylvain Defresne <sdefresne@chromium.org>
Auto-Submit: Sylvain Defresne <sdefresne@chromium.org>
Reviewed-by: Eugene But <eugenebut@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/master@{#638067}
1 file changed