Files
brave-core/chromium_src
Claudio DeSouza 349cb452f6 [cr149] Fix CheckRenderFrameType override to global_id
This change is functionally the same, as it merely changes how the
underlying values are read from the new argument.

Chromium changes:
https://chromium.googlesource.com/chromium/src/+/5ee42da3af8311556b84afb3dc2ff9bc0ca75b7b

commit 5ee42da3af8311556b84afb3dc2ff9bc0ca75b7b
Author: Chris Staite <christopher.staite@menlosecurity.com>
Date:   Fri May 1 01:49:25 2026 -0700

    Use GlobalRenderFrameHostId in speech recognition

    Update `SpeechRecognitionSessionContext` and associated manager
    delegates to use `content::GlobalRenderFrameHostId` instead of passing
    `render_process_id` and `render_frame_id` as separate integer values.
    This also applies to embedder frame IDs, which are now represented by
    `embedder_global_id`.

    This refactoring simplifies method signatures across the speech
    recognition API, including `SpeechRecognitionManagerImpl` and
    `OnDeviceSpeechRecognitionEngine`, reducing the risk of mismatched IDs
    and improving overall code clarity when identifying render frames.

    Bug: 379869738
    Change-Id: I0bbf3f026b98428b706f2777ce327030e675720d
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7805227
    Reviewed-by: Devlin Cronin <rdevlin.cronin@chromium.org>
    Commit-Queue: Christopher Staite <christopher.staite@menlosecurity.com>
    Reviewed-by: Avi Drissman <avi@chromium.org>
    Reviewed-by: Bo Liu <boliu@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1623755}
2026-05-22 16:57:33 -04:00
..
2026-05-08 23:25:10 +01:00