Add DCHECKs to base::Value Path API
This change adds DCHECKs to the base::Value Path API to prevent mis-use.
Ideally this checks should be static asserts, but this is currently not
easily do-able.
Bug: 646113
Change-Id: I04700486d41a425a1b75c0fdd93f21da7009e05a
Reviewed-on: https://chromium-review.googlesource.com/735860
Commit-Queue: Jan Wilken Dörrie <jdoerrie@chromium.org>
Reviewed-by: Brett Wilson <brettw@chromium.org>
Reviewed-by: Lei Zhang <thestig@chromium.org>
Cr-Commit-Position: refs/heads/master@{#512171}
CrOS-Libchrome-Original-Commit: 8deeec251491d65464e3423fb7de744711690cc3
2 files changed