[RSG] Implement prioritization of data sources [chromium/src : main]

0 views
Skip to first unread message

Mikita Kuchyn (Gerrit)

unread,
Jan 16, 2026, 4:39:59 PM (20 hours ago) Jan 16
to Jihad Hanna, chromium...@chromium.org, browser-comp...@chromium.org
Attention needed from Jihad Hanna

Mikita Kuchyn added 1 comment

Patchset-level comments
File-level comment, Patchset 2 (Latest):
Mikita Kuchyn . resolved

Hi, PTAL

Open in Gerrit

Related details

Attention is currently required from:
  • Jihad Hanna
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement is not satisfiedCode-Owners
  • requirement is not satisfiedCode-Review
  • requirement is not satisfiedReview-Enforcement
Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
Gerrit-MessageType: comment
Gerrit-Project: chromium/src
Gerrit-Branch: main
Gerrit-Change-Id: Ic67f53970c0711f4af82a0e5eeca16ef536cf364
Gerrit-Change-Number: 7485891
Gerrit-PatchSet: 2
Gerrit-Owner: Mikita Kuchyn <kuc...@chromium.org>
Gerrit-Reviewer: Jihad Hanna <jihad...@google.com>
Gerrit-Attention: Jihad Hanna <jihad...@google.com>
Gerrit-Comment-Date: Fri, 16 Jan 2026 21:39:41 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Jihad Hanna (Gerrit)

unread,
Jan 16, 2026, 6:06:34 PM (19 hours ago) Jan 16
to Mikita Kuchyn, Dominic Battre, chromium...@chromium.org, browser-comp...@chromium.org
Attention needed from Mikita Kuchyn

Jihad Hanna added 7 comments

File components/autofill/core/browser/foundations/browser_autofill_manager.cc
Line 1297, Patchset 2 (Latest): std::optional<SuggestionDataSource> highest_priority_source;
Jihad Hanna . unresolved

Could you add a small description right above here:

```
// Clear some of the suggestions based on priorities:
// (1) Find the highest priority suggestion data source S that returned data.
// (2) Keep only data from sources that are mergeable with S, discard the rest.
```

Line 1311, Patchset 2 (Latest): // If supported_merges_set is nullptr, then no merge options exist, so we
// should discard all other suggestions.
Jihad Hanna . unresolved

I'd remove this comment as the codeblock below is quite trivial

File components/autofill/core/browser/suggestions/suggestion_generator.h
Line 125, Patchset 2 (Latest): {SuggestionDataSource::kAddressOnTyping,
Jihad Hanna . unresolved

Address on typing cannot merge with anything.

Line 105, Patchset 2 (Latest): // Passkeys are excluded (Handled via PasswordManagerDelegate)
Jihad Hanna . unresolved

I'm almost sure this isn't true, we have logic right now that adds a passkey suggestion when appropriate.

Line 93, Patchset 2 (Latest): SuggestionDataSource::kAddressOnTyping,
Jihad Hanna . unresolved

Address on typing is very low priority (I think just above autocomplete)

Line 86, Patchset 2 (Latest): SuggestionDataSource::kOneTimePassword,
Jihad Hanna . unresolved

I don't think OTPs have a very high priority. How did you come up with this ranking?

Line 84, Patchset 2 (Latest): std::to_array<SuggestionDataSource>({
Jihad Hanna . unresolved

Could you wrap this array with `// clang-format off` and later `// clang-format on` and have each source on a single line?

Open in Gerrit

Related details

Attention is currently required from:
  • Mikita Kuchyn
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: Ic67f53970c0711f4af82a0e5eeca16ef536cf364
    Gerrit-Change-Number: 7485891
    Gerrit-PatchSet: 2
    Gerrit-Owner: Mikita Kuchyn <kuc...@chromium.org>
    Gerrit-Reviewer: Jihad Hanna <jihad...@google.com>
    Gerrit-CC: Dominic Battre <bat...@chromium.org>
    Gerrit-Attention: Mikita Kuchyn <kuc...@chromium.org>
    Gerrit-Comment-Date: Fri, 16 Jan 2026 23:06:15 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Jihad Hanna (Gerrit)

    unread,
    5:49 AM (7 hours ago) 5:49 AM
    to Mikita Kuchyn, Dominic Battre, chromium...@chromium.org, browser-comp...@chromium.org
    Attention needed from Mikita Kuchyn

    Jihad Hanna added 1 comment

    Commit Message
    Line 12, Patchset 2 (Latest):
    Jihad Hanna . unresolved

    please mention that this is based on the DD

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Mikita Kuchyn
    Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement is not satisfiedNo-Unresolved-Comments
    • requirement is not satisfiedReview-Enforcement
    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
    Gerrit-MessageType: comment
    Gerrit-Project: chromium/src
    Gerrit-Branch: main
    Gerrit-Change-Id: Ic67f53970c0711f4af82a0e5eeca16ef536cf364
    Gerrit-Change-Number: 7485891
    Gerrit-PatchSet: 2
    Gerrit-Owner: Mikita Kuchyn <kuc...@chromium.org>
    Gerrit-Reviewer: Jihad Hanna <jihad...@google.com>
    Gerrit-CC: Dominic Battre <bat...@chromium.org>
    Gerrit-Attention: Mikita Kuchyn <kuc...@chromium.org>
    Gerrit-Comment-Date: Sat, 17 Jan 2026 10:49:00 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy
    Reply all
    Reply to author
    Forward
    0 new messages