Emerick Rogul ebccd67da1 [cr144][ios] Update parameters to OnURLVisited
Chromium changes:
https://chromium.googlesource.com/chromium/src/+/cb3309d8abc8aceb10bd606ffe66be4edc298645

commit cb3309d8abc8aceb10bd606ffe66be4edc298645
Author: Tiffany Song <tiffanysong@google.com>
Date:   Mon Nov 17 08:22:29 2025 -0800

    [VL] Add response_code_category to NotifyURLVisited to pass to observers

    There are several overrides of HistoryServiceObserver that do not
    include 404 navigations, as 404 visits are not currently inserted into
    History. 404 visits will soon be inserted when
    history::kVisitedLinksOn404 is enabled, and not all of these overrides
    will want to include 404 navigations. In order to know if a visit has a
    404 result, we want to pass response_code_category through OnURLVisited
    and OnURLVisitedWithNavigationId.

    This CL also adds a param struct, `VisitedURLInfo`, to store the
    parameters for `NotifyURLVisited` and `OnURLVisited` in order to avoid
    large CLs like this one if more parameters need to be added.

    This CL is part of a larger project to make links `:visited` after a 404
    visit, while minimizing disruption to History consumers. Project links:
    - Google-internal project doc: go/stop-filtering-history-by-status-code
    - Issue tree / work status: https://crbug.com/427225439/dependencies

    Fixed: 458096507
    Change-Id: I85e201ec046939d987dad7af6683351283e7d67a
    Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/7122997
    Reviewed-by: Nico Weber <thakis@chromium.org>
    Owners-Override: Nico Weber <thakis@chromium.org>
    Commit-Queue: Tiffany Song <tiffanysong@google.com>
    Reviewed-by: Jérôme Lebel <jlebel@chromium.org>
    Reviewed-by: manuk hovanesian <manukh@chromium.org>
    Cr-Commit-Position: refs/heads/main@{#1545935}
2025-12-21 17:12:47 -05:00
2025-12-21 17:12:38 -05:00
2025-12-20 23:56:16 +00:00
2025-12-20 23:56:17 +00:00
2025-12-20 23:56:17 +00:00
2025-12-20 23:56:17 +00:00
2025-12-20 23:56:17 +00:00
2025-12-19 19:42:08 +00:00
2025-12-19 19:42:08 +00:00

Brave Core

Brave Core is a set of changes, APIs, and scripts used for customizing Chromium to make the Brave browser. Please also check https://github.com/brave/brave-browser

Follow @brave on Twitter for important announcements.

Resources

Community

You can ask questions and interact with the community in the following locations:

S
Description
No description provided
Readme MPL-2.0
3.8 GiB
Languages
C++ 36.9%
HTML 31.6%
Swift 9.4%
TypeScript 9%
Java 4.8%
Other 8.1%