4 Commits
Author SHA1 Message Date
cdesouza-chromium f5c6a0136f [CodeHealth] Use base::DictValue/base::ListValue - Part I (#33614)
These classes were hoisted and renamed. This has been replaced in
Chromium as well. This is a mechanical change for Brave, done with the
following script.

```
git grep -lw 'Value::List' | xargs sed -i 's/\bValue::List\b/ListValue/g'
git grep -lw 'Value::Dict' | xargs sed -i 's/\bValue::Dict\b/DictValue/g'
git cl format
```

Chromium changes:
https://chromium.googlesource.com/chromium/src/+/6bc468d481835992696083e99e556516fb7f5f80

```
commit 6bc468d481835992696083e99e556516fb7f5f80
Author: Avi Drissman <avi@chromium.org>
Date:   Thu Jan 29 22:14:50 2026 -0800

    Remove aliases for base::DictValue and base::ListValue

    This removes a few last stragglers as well.

    Fixed: 478100525
    Cq-Include-Trybots: luci.chromium.try:win-official,mac-official,linux-official,android-official,android-desktop-x64-official
    Change-Id: If92142b8ab0562a82c609b71c6b2a7665cea6ec6
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7513889
    Auto-Submit: Avi Drissman <avi@chromium.org>
    Commit-Queue: Daniel Cheng <dcheng@chromium.org>
    Owners-Override: Daniel Cheng <dcheng@chromium.org>
    Reviewed-by: Daniel Cheng <dcheng@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1577038}
```

Issue: https://github.com/brave/brave-browser/issues/52435
2026-02-04 12:54:52 -03:00
Nuo Xu 4a72a67003 [iOS][Wallet] Correct Copy BaseValue's tag (#32690) 2025-12-05 12:24:48 -05:00
cdesouza-chromium 12e0c0aed7 [CodeHealth] Use base::WriteJson - Part I (#32035)
This PR migrates several uses of `base::JSONWriter::Write` over to
`base::WriteJson`, following the upstream migration.

Bug: https://github.com/brave/brave-browser/issues/50480
2025-10-26 10:42:47 +00:00
Kyle Hickinson 7aa988a8f2 [iOS] Move base::Value Obj-C wrapper into brave/base (#30497)
This moves the `MojoBaseValue` type to the `//brave/base` directory to be used as a more general purpose `base::Value` bridge wrapper. It also updates the `//brave/base/mac` directory to `apple` and fixes a few banned method calls.
2025-08-06 14:33:56 -04:00