Files
brave-core/components/api_request_helper
Claudio DeSouza e64e932277 [cr132] JSONReader using rust's implementation by default
There were some overrides in place to enforce the use of the rust parser
for `APIRequestHelper` and similar APIs. However, the rust parser is now
switched by default in upstream. This change does away with the
overrides that were added, and uses the regular `JSONReader` interface.

Chromium change:
https://chromium.googlesource.com/chromium/src/+/9ddc1624637c8cfa8ef50a95abd779e0ba4d67f6

commit 9ddc1624637c8cfa8ef50a95abd779e0ba4d67f6
Author: danakj <danakj@chromium.org>
Date:   Thu Nov 7 22:14:14 2024 +0000

    Make rust toolchain non-optional in chromium and move flags out of build

    The //build dir should contain things that apply to all projects using
    the directly. Moving the gn args for specific chromium projects out of
    //build/config/rust.gni into the Chromium tree next to the features they
    are flags for.

    Removed the flags that now default to on. They were gated on enable_rust
    but enable_rust is always true in Chromium, so in Chromium code we can
    just assume it's true. Thus the features are always enabled. Removed
    buildflags etc for these removed GN args.

    Gating Rust in //base on IS_NACL rather than rust-specific toolchain
    flags, as Rust is always available in Chromium in all of our build
    configurations except NaCl (and it will be going away in under a year
    now).
2024-12-01 08:43:53 -05:00
..