This is a second pass after commit fe9b3d9e36 to finally migrate away
from this deprecated methods, which required changing the signature
of some methods to avoid replacing use of base::Value::[Const]ListView
with the new types instead (e.g. base::Value::List).
[1] https://github.com/brave/brave-core/commit/fe9b3d9e36
Chromium change:
https://source.chromium.org/chromium/chromium/src/+/60e6b2d9538d743e7aaac58f46e996e6031b8a86
commit 60e6b2d9538d743e7aaac58f46e996e6031b8a86
Author: Daniel Cheng <dcheng@chromium.org>
Date: Sat Feb 5 01:08:46 2022 +0000
base::Value: Remove GetList(), TakeList(), and TakeDict().
Also remove (a lot of) new uses of GetList() that crept in. There is
also one use of GetList() in a third-party code generator that was
missed in previous iterations. Since the file is checked directly into
Chrome, the usage is removed in this CL, but upstream will need to be
updated before the next roll.
Bug: 1291666, 1294416