[AF] Add kMaximizeCreditCardBenefitsEntry enum [chromium/src : main]

0 views
Skip to first unread message

Haochen Feng (Gerrit)

unread,
Jun 16, 2026, 5:16:11 PMJun 16
to Fernando Ramirez, Vinny Persky, Chromium Metrics Reviews, chromium...@chromium.org, asvitkine...@chromium.org, browser-comp...@chromium.org, gcasto+w...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, tmartino+tran...@chromium.org, vasilii+watchlis...@chromium.org
Attention needed from Fernando Ramirez and Vinny Persky

Haochen Feng added 17 comments

Patchset-level comments
File-level comment, Patchset 2:
Fernando Ramirez . resolved

Also, be sure to click "CQ Dry Run". This also helps ensure that the build doesn't fail and tests pass.

Haochen Feng

will do, is it best practice to run whenever I put out a patchset? I didn't run it this time because I thought I would be putting out another patchset fairly quickly.

File-level comment, Patchset 5 (Latest):
Haochen Feng . resolved

Thanks for the comments!

Commit Message
Line 6, Patchset 2:
[AF] kMaximizeCreditCardBenefitsEntry Enum
Fernando Ramirez . resolved

nit: First line isn't usually in title case, it's meant to be a "Summary of change (one line)": https://chromium.googlesource.com/chromium/src/+/HEAD/docs/contributing.md#uploading-a-change-for-review.

WDYT of "[AF] Add kMaximizeCreditCardBenefitsEntry enum"?

Haochen Feng

ah, I did not know that. The new title makes sense

Line 9, Patchset 2:This CL includes the Enum for the new `SuggestionType` of `kMaximizeCreditCardBenefitsEntry`, as part of the AI card recommendation intern project.
Fernando Ramirez . resolved

nit: enum

Haochen Feng

Done

Line 12, Patchset 2:- returns true for `bool IsCreditCardFooterSuggestion(...) {` so the Maximize Rewards Suggestion can be placed at the bottom of the suggestions popup.
Fernando Ramirez . resolved

nit: IsCreditCardFooterSuggestion

Haochen Feng

Done

Line 12, Patchset 2:- returns true for `bool IsCreditCardFooterSuggestion(...) {` so the Maximize Rewards Suggestion can be placed at the bottom of the suggestions popup.
Fernando Ramirez . resolved

nit: "Maximize rewards" suggestion

Haochen Feng

Done

Line 9, Patchset 2:This CL includes the Enum for the new `SuggestionType` of `kMaximizeCreditCardBenefitsEntry`, as part of the AI card recommendation intern project.

Notes:
- returns true for `bool IsCreditCardFooterSuggestion(...) {` so the Maximize Rewards Suggestion can be placed at the bottom of the suggestions popup.

- however, for `SuggestionSection GetSuggestionSection(SuggestionType type) {`, this suggestion returns `SuggestionSection::kBody;` so it can be as large as a credit card suggestion, or BNPL suggestion.
Fernando Ramirez . unresolved

Sometimes you may not be able to auto format when clicking the "format" button in the CL description editor, but "long lines should be wrapped to 72 columns for easier log message
viewing in terminals.": https://chromium.googlesource.com/chromium/src/+/HEAD/docs/contributing.md#uploading-a-change-for-review

Haochen Feng

oops, I did not realize that "format" didn't solve this.

I added a new line every time the line got to the end of the editing window, which appears to be 72 columns long. Does that work?

Line 14, Patchset 2:- however, for `SuggestionSection GetSuggestionSection(SuggestionType type) {`, this suggestion returns `SuggestionSection::kBody;` so it can be as large as a credit card suggestion, or BNPL suggestion.
Fernando Ramirez . resolved

nit: GetSuggestionSection

Haochen Feng

Done

File chrome/browser/ui/autofill/autofill_suggestion_controller_utils.cc
Line 116, Patchset 2: case SuggestionType::kMaximizeCreditCardBenefitsEntry:
Vinny Persky . unresolved

If we're treating this as a footer suggestion, should it go in the footer section above?

Haochen Feng

Adding this into the footer section seems to make the suggestion generate as the same size as the "manage payment methods..." suggestion.

I think this switch statement decides the size, while `IsCreditCardFooterSuggestion` decides the position, so I followed what kBnplEntry did, and put it in the body section here, but I put it as true for `IsCreditCardFooterSuggestion`. Does this approach make sense?

File chrome/browser/ui/views/autofill/popup/popup_view_utils.cc
Line 620, Patchset 2: case SuggestionType::kMaximizeCreditCardBenefitsEntry:
Fernando Ramirez . resolved

small nit: could you add this below `kFetchingAmbientData` instead? With this being a smaller CL it should land faster so you don't have to worry about merge conflicts as much.

Haochen Feng

This makes sense. I don't think we would've run into any merge conflicts since, anyway.

Line 691, Patchset 2: case SuggestionType::kMaximizeCreditCardBenefitsEntry:
Fernando Ramirez . resolved

ditto

Haochen Feng

Done

File components/autofill/core/browser/foundations/browser_autofill_manager.cc
Line 328, Patchset 2: case SuggestionType::kMaximizeCreditCardBenefitsEntry:
Fernando Ramirez . resolved

ditto

Haochen Feng

Done

File components/autofill/core/browser/suggestions/suggestion_type.h
Line 212, Patchset 2: // Maximize Credit Card Benefits suggestion.
Vinny Persky . unresolved

This re-states the name. Can you please add more context on the suggestion

Haochen Feng

I added some context -- let me know if this works

File components/autofill/core/browser/suggestions/suggestion_type.cc
Line 142, Patchset 2: case SuggestionType::kMaximizeCreditCardBenefitsEntry:
return "kMaximizeCreditCardBenefitsEntry";
Fernando Ramirez . resolved

ditto, move below

Haochen Feng

Done

File components/autofill/core/browser/ui/autofill_external_delegate.cc
Line 1514, Patchset 2: break;
Vinny Persky . resolved

Probably best to fallthrough for now

Haochen Feng

Done -- this makes sense, because this code should not be reachable in this CL right

File components/autofill/ios/browser/autofill_agent.mm
Line 712, Patchset 2: case SuggestionType::kMaximizeCreditCardBenefitsEntry:
Fernando Ramirez . resolved

ditto

Haochen Feng

Done

File ios/chrome/browser/autofill/form_input_accessory/ui/form_suggestion_label.mm
Line 306, Patchset 2: case SuggestionType::kMaximizeCreditCardBenefitsEntry:
Fernando Ramirez . resolved

ditto

Haochen Feng

Done

Open in Gerrit

Related details

Attention is currently required from:
  • Fernando Ramirez
  • Vinny Persky
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: I57d2758a6928ebc9112287fa7ade0f85508f7a6c
Gerrit-Change-Number: 7951090
Gerrit-PatchSet: 5
Gerrit-Owner: Haochen Feng <haoc...@google.com>
Gerrit-Reviewer: Fernando Ramirez <fe...@google.com>
Gerrit-Reviewer: Vinny Persky <vinny...@google.com>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-Attention: Vinny Persky <vinny...@google.com>
Gerrit-Attention: Fernando Ramirez <fe...@google.com>
Gerrit-Comment-Date: Tue, 16 Jun 2026 21:15:55 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Vinny Persky <vinny...@google.com>
Comment-In-Reply-To: Fernando Ramirez <fe...@google.com>
satisfied_requirement
unsatisfied_requirement
open
diffy

Fernando Ramirez (Gerrit)

unread,
Jun 16, 2026, 5:39:00 PMJun 16
to Haochen Feng, Chromium LUCI CQ, Vinny Persky, Chromium Metrics Reviews, chromium...@chromium.org, asvitkine...@chromium.org, browser-comp...@chromium.org, gcasto+w...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, tmartino+tran...@chromium.org, vasilii+watchlis...@chromium.org
Attention needed from Haochen Feng and Vinny Persky

Fernando Ramirez added 2 comments

Patchset-level comments
File-level comment, Patchset 5 (Latest):
Fernando Ramirez . resolved

Will LGTM once Vinny's comments are resolved. Thanks!

Commit Message
Line 9, Patchset 2:This CL includes the Enum for the new `SuggestionType` of `kMaximizeCreditCardBenefitsEntry`, as part of the AI card recommendation intern project.

Notes:
- returns true for `bool IsCreditCardFooterSuggestion(...) {` so the Maximize Rewards Suggestion can be placed at the bottom of the suggestions popup.

- however, for `SuggestionSection GetSuggestionSection(SuggestionType type) {`, this suggestion returns `SuggestionSection::kBody;` so it can be as large as a credit card suggestion, or BNPL suggestion.
Fernando Ramirez . resolved

Sometimes you may not be able to auto format when clicking the "format" button in the CL description editor, but "long lines should be wrapped to 72 columns for easier log message
viewing in terminals.": https://chromium.googlesource.com/chromium/src/+/HEAD/docs/contributing.md#uploading-a-change-for-review

Haochen Feng

oops, I did not realize that "format" didn't solve this.

I added a new line every time the line got to the end of the editing window, which appears to be 72 columns long. Does that work?

Fernando Ramirez

Yup, that's exactly what you have to do in cases like this.

Open in Gerrit

Related details

Attention is currently required from:
  • Haochen Feng
  • Vinny Persky
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: I57d2758a6928ebc9112287fa7ade0f85508f7a6c
Gerrit-Change-Number: 7951090
Gerrit-PatchSet: 5
Gerrit-Owner: Haochen Feng <haoc...@google.com>
Gerrit-Reviewer: Fernando Ramirez <fe...@google.com>
Gerrit-Reviewer: Haochen Feng <haoc...@google.com>
Gerrit-Reviewer: Vinny Persky <vinny...@google.com>
Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
Gerrit-Attention: Vinny Persky <vinny...@google.com>
Gerrit-Attention: Haochen Feng <haoc...@google.com>
Gerrit-Comment-Date: Tue, 16 Jun 2026 21:38:52 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Haochen Feng <haoc...@google.com>
Comment-In-Reply-To: Fernando Ramirez <fe...@google.com>
satisfied_requirement
unsatisfied_requirement
open
diffy

Fernando Ramirez (Gerrit)

unread,
Jun 16, 2026, 5:50:42 PMJun 16
to Haochen Feng, Chromium LUCI CQ, Vinny Persky, Chromium Metrics Reviews, chromium...@chromium.org, asvitkine...@chromium.org, browser-comp...@chromium.org, gcasto+w...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, tmartino+tran...@chromium.org, vasilii+watchlis...@chromium.org
Attention needed from Haochen Feng and Vinny Persky

Fernando Ramirez added 1 comment

File components/password_manager/core/browser/password_autofill_manager.cc
Line 148, Patchset 2: case SuggestionType::kMaximizeCreditCardBenefitsEntry:
Haochen Feng . resolved

Adding a comment here because I think there were some concerns about aligning with a chrome components/autofill reviewer.

Fernando Ramirez

Thanks, reached out to Jihad: https://docs.google.com/document/d/18I1etc4Lx_pZy-BykN9eFXuGwktlbfMjySFOkdNWYt4/edit?resourcekey=0-wisKjgzO9fnYr2wYC3MMog&disco=AAAB9s3o9FU

Fernando Ramirez

FYI @vinny...@google.com, Jihad approved adding this suggestion type (see link above).

@haoc...@google.com, moving forward you can assign jihad...@google.com as a reviewer for changes that require a components/autofill OWNER (after me and Vinny LGTM).

Gerrit-Comment-Date: Tue, 16 Jun 2026 21:50:31 +0000
satisfied_requirement
unsatisfied_requirement
open
diffy

Vinny Persky (Gerrit)

unread,
Jun 17, 2026, 12:50:40 PMJun 17
to Haochen Feng, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, Fernando Ramirez, Chromium Metrics Reviews, chromium...@chromium.org, osaul+aut...@google.com, armalhotra+a...@google.com, shgar+aut...@google.com, siyua+aut...@chromium.org, siashah+au...@chromium.org, vinnypersky+...@google.com, asvitkine...@chromium.org, browser-comp...@chromium.org, gcasto+w...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, tmartino+tran...@chromium.org, vasilii+watchlis...@chromium.org
Attention needed from Haochen Feng

Vinny Persky voted and added 3 comments

Votes added by Vinny Persky

Code-Review+1

3 comments

Patchset-level comments
File-level comment, Patchset 8 (Latest):
Vinny Persky . resolved

PS2->8 LGTM

File chrome/browser/ui/autofill/autofill_suggestion_controller_utils.cc
Line 116, Patchset 2: case SuggestionType::kMaximizeCreditCardBenefitsEntry:
Vinny Persky . resolved

If we're treating this as a footer suggestion, should it go in the footer section above?

Haochen Feng

Adding this into the footer section seems to make the suggestion generate as the same size as the "manage payment methods..." suggestion.

I think this switch statement decides the size, while `IsCreditCardFooterSuggestion` decides the position, so I followed what kBnplEntry did, and put it in the body section here, but I put it as true for `IsCreditCardFooterSuggestion`. Does this approach make sense?

Vinny Persky

Acknowledged

File components/autofill/core/browser/suggestions/suggestion_type.h
Line 212, Patchset 2: // Maximize Credit Card Benefits suggestion.
Vinny Persky . resolved

This re-states the name. Can you please add more context on the suggestion

Haochen Feng

I added some context -- let me know if this works

Vinny Persky

Done

Open in Gerrit

Related details

Attention is currently required from:
  • Haochen Feng
Submit Requirements:
    • requirement satisfiedCode-Coverage
    • requirement is not satisfiedCode-Owners
    • requirement is not satisfiedCode-Review
    • requirement 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: I57d2758a6928ebc9112287fa7ade0f85508f7a6c
    Gerrit-Change-Number: 7951090
    Gerrit-PatchSet: 8
    Gerrit-Owner: Haochen Feng <haoc...@google.com>
    Gerrit-Reviewer: Fernando Ramirez <fe...@google.com>
    Gerrit-Reviewer: Haochen Feng <haoc...@google.com>
    Gerrit-Reviewer: Vinny Persky <vinny...@google.com>
    Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
    Gerrit-Attention: Haochen Feng <haoc...@google.com>
    Gerrit-Comment-Date: Wed, 17 Jun 2026 16:50:22 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: Yes
    Comment-In-Reply-To: Vinny Persky <vinny...@google.com>
    Comment-In-Reply-To: Haochen Feng <haoc...@google.com>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Fernando Ramirez (Gerrit)

    unread,
    Jun 17, 2026, 12:58:59 PMJun 17
    to Haochen Feng, Vinny Persky, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, Chromium Metrics Reviews, chromium...@chromium.org, osaul+aut...@google.com, armalhotra+a...@google.com, shgar+aut...@google.com, siyua+aut...@chromium.org, siashah+au...@chromium.org, vinnypersky+...@google.com, asvitkine...@chromium.org, browser-comp...@chromium.org, gcasto+w...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, tmartino+tran...@chromium.org, vasilii+watchlis...@chromium.org
    Attention needed from Haochen Feng

    Fernando Ramirez voted Code-Review+1

    Code-Review+1
    Open in Gerrit

    Related details

    Attention is currently required from:
    • Haochen Feng
    Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement 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: I57d2758a6928ebc9112287fa7ade0f85508f7a6c
      Gerrit-Change-Number: 7951090
      Gerrit-PatchSet: 8
      Gerrit-Owner: Haochen Feng <haoc...@google.com>
      Gerrit-Reviewer: Fernando Ramirez <fe...@google.com>
      Gerrit-Reviewer: Haochen Feng <haoc...@google.com>
      Gerrit-Reviewer: Vinny Persky <vinny...@google.com>
      Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
      Gerrit-Attention: Haochen Feng <haoc...@google.com>
      Gerrit-Comment-Date: Wed, 17 Jun 2026 16:58:48 +0000
      Gerrit-HasComments: No
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Haochen Feng (Gerrit)

      unread,
      Jun 17, 2026, 2:11:45 PMJun 17
      to Jihad Hanna, Fernando Ramirez, Vinny Persky, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, Chromium Metrics Reviews, chromium...@chromium.org, osaul+aut...@google.com, armalhotra+a...@google.com, shgar+aut...@google.com, siyua+aut...@chromium.org, siashah+au...@chromium.org, vinnypersky+...@google.com, asvitkine...@chromium.org, browser-comp...@chromium.org, gcasto+w...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, tmartino+tran...@chromium.org, vasilii+watchlis...@chromium.org
      Attention needed from Jihad Hanna

      Haochen Feng added 1 comment

      Patchset-level comments
      Haochen Feng . resolved

      Hi! This is the enum for the AI card recommendation project's suggestion type.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Jihad Hanna
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement 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: I57d2758a6928ebc9112287fa7ade0f85508f7a6c
      Gerrit-Change-Number: 7951090
      Gerrit-PatchSet: 8
      Gerrit-Owner: Haochen Feng <haoc...@google.com>
      Gerrit-Reviewer: Fernando Ramirez <fe...@google.com>
      Gerrit-Reviewer: Haochen Feng <haoc...@google.com>
      Gerrit-Reviewer: Jihad Hanna <jihad...@google.com>
      Gerrit-Attention: Jihad Hanna <jihad...@google.com>
      Gerrit-Comment-Date: Wed, 17 Jun 2026 18:11:24 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Haochen Feng (Gerrit)

      unread,
      Jun 17, 2026, 2:29:46 PMJun 17
      to Mohamed Amir Yosef, Alexis Hétu, Jihad Hanna, Fernando Ramirez, Vinny Persky, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, Chromium Metrics Reviews, chromium...@chromium.org, osaul+aut...@google.com, armalhotra+a...@google.com, shgar+aut...@google.com, siyua+aut...@chromium.org, siashah+au...@chromium.org, vinnypersky+...@google.com, asvitkine...@chromium.org, browser-comp...@chromium.org, gcasto+w...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, tmartino+tran...@chromium.org, vasilii+watchlis...@chromium.org
      Attention needed from Alexis Hétu, Jihad Hanna and Mohamed Amir Yosef

      Haochen Feng added 1 comment

      Patchset-level comments
      Haochen Feng . resolved

      Hi! This is the enum for the new suggestion type of `kMaximizeCreditCardBenefitsEntry`, for the AI card recommendation intern project:

      https://docs.google.com/document/d/18I1etc4Lx_pZy-BykN9eFXuGwktlbfMjySFOkdNWYt4/edit?usp=sharing&resourcekey=0-wisKjgzO9fnYr2wYC3MMog

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Alexis Hétu
      • Jihad Hanna
      • Mohamed Amir Yosef
      Submit Requirements:
      • requirement satisfiedCode-Coverage
      • requirement is not satisfiedCode-Owners
      • requirement satisfiedCode-Review
      • requirement 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: I57d2758a6928ebc9112287fa7ade0f85508f7a6c
      Gerrit-Change-Number: 7951090
      Gerrit-PatchSet: 8
      Gerrit-Owner: Haochen Feng <haoc...@google.com>
      Gerrit-Reviewer: Alexis Hétu <su...@chromium.org>
      Gerrit-Reviewer: Fernando Ramirez <fe...@google.com>
      Gerrit-Reviewer: Haochen Feng <haoc...@google.com>
      Gerrit-Reviewer: Jihad Hanna <jihad...@google.com>
      Gerrit-Reviewer: Mohamed Amir Yosef <ma...@chromium.org>
      Gerrit-Attention: Alexis Hétu <su...@chromium.org>
      Gerrit-Attention: Mohamed Amir Yosef <ma...@chromium.org>
      Gerrit-Attention: Jihad Hanna <jihad...@google.com>
      Gerrit-Comment-Date: Wed, 17 Jun 2026 18:29:21 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Alexis Hétu (Gerrit)

      unread,
      Jun 17, 2026, 3:24:06 PMJun 17
      to Haochen Feng, Mohamed Amir Yosef, Jihad Hanna, Fernando Ramirez, Vinny Persky, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, Chromium Metrics Reviews, chromium...@chromium.org, osaul+aut...@google.com, armalhotra+a...@google.com, shgar+aut...@google.com, siyua+aut...@chromium.org, siashah+au...@chromium.org, vinnypersky+...@google.com, asvitkine...@chromium.org, browser-comp...@chromium.org, gcasto+w...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, tmartino+tran...@chromium.org, vasilii+watchlis...@chromium.org
      Attention needed from Haochen Feng, Jihad Hanna and Mohamed Amir Yosef

      Alexis Hétu voted and added 1 comment

      Votes added by Alexis Hétu

      Code-Review+1

      1 comment

      Patchset-level comments
      Alexis Hétu . resolved

      ios/ lgtm

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Haochen Feng
      Gerrit-Attention: Haochen Feng <haoc...@google.com>
      Gerrit-Attention: Mohamed Amir Yosef <ma...@chromium.org>
      Gerrit-Attention: Jihad Hanna <jihad...@google.com>
      Gerrit-Comment-Date: Wed, 17 Jun 2026 19:23:52 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: Yes
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Jihad Hanna (Gerrit)

      unread,
      Jun 18, 2026, 2:16:06 AMJun 18
      to Haochen Feng, Alexis Hétu, Mohamed Amir Yosef, Fernando Ramirez, Vinny Persky, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, Chromium Metrics Reviews, chromium...@chromium.org, osaul+aut...@google.com, armalhotra+a...@google.com, shgar+aut...@google.com, siyua+aut...@chromium.org, siashah+au...@chromium.org, vinnypersky+...@google.com, asvitkine...@chromium.org, browser-comp...@chromium.org, gcasto+w...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, tmartino+tran...@chromium.org, vasilii+watchlis...@chromium.org
      Attention needed from Haochen Feng and Mohamed Amir Yosef

      Jihad Hanna added 2 comments

      File chrome/browser/ui/views/autofill/popup/popup_cell_utils.cc
      Line 378, Patchset 8 (Latest): case SuggestionType::kMaximizeCreditCardBenefitsEntry:
      Jihad Hanna . unresolved

      Is it not?

      File chrome/browser/ui/views/autofill/popup/popup_row_factory_utils.cc
      Line 818, Patchset 8 (Latest): default:
      Jihad Hanna . unresolved

      Could you expand this into all the remaining enums? We usually prefer avoiding `default` in switch cases

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Haochen Feng
      • Mohamed Amir Yosef
      Submit Requirements:
        • requirement satisfiedCode-Coverage
        • requirement is not satisfiedCode-Owners
        • requirement satisfiedCode-Review
        • requirement is not satisfiedNo-Unresolved-Comments
        • requirement 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: I57d2758a6928ebc9112287fa7ade0f85508f7a6c
        Gerrit-Change-Number: 7951090
        Gerrit-PatchSet: 8
        Gerrit-Owner: Haochen Feng <haoc...@google.com>
        Gerrit-Reviewer: Alexis Hétu <su...@chromium.org>
        Gerrit-Reviewer: Fernando Ramirez <fe...@google.com>
        Gerrit-Reviewer: Haochen Feng <haoc...@google.com>
        Gerrit-Reviewer: Jihad Hanna <jihad...@google.com>
        Gerrit-Reviewer: Mohamed Amir Yosef <ma...@chromium.org>
        Gerrit-Reviewer: Vinny Persky <vinny...@google.com>
        Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
        Gerrit-Attention: Haochen Feng <haoc...@google.com>
        Gerrit-Attention: Mohamed Amir Yosef <ma...@chromium.org>
        Gerrit-Comment-Date: Thu, 18 Jun 2026 06:15:45 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Haochen Feng (Gerrit)

        unread,
        Jun 18, 2026, 3:05:46 PM (13 days ago) Jun 18
        to Alexis Hétu, Mohamed Amir Yosef, Jihad Hanna, Fernando Ramirez, Vinny Persky, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, Chromium Metrics Reviews, chromium...@chromium.org, osaul+aut...@google.com, armalhotra+a...@google.com, shgar+aut...@google.com, siyua+aut...@chromium.org, siashah+au...@chromium.org, vinnypersky+...@google.com, asvitkine...@chromium.org, browser-comp...@chromium.org, gcasto+w...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, tmartino+tran...@chromium.org, vasilii+watchlis...@chromium.org
        Attention needed from Alexis Hétu, Fernando Ramirez, Jihad Hanna, Mohamed Amir Yosef and Vinny Persky

        Haochen Feng added 3 comments

        Patchset-level comments
        File-level comment, Patchset 10 (Latest):
        Haochen Feng . resolved

        Thanks for the comments!

        File chrome/browser/ui/views/autofill/popup/popup_cell_utils.cc
        Line 378, Patchset 8: case SuggestionType::kMaximizeCreditCardBenefitsEntry:
        Jihad Hanna . unresolved

        Is it not?

        Haochen Feng

        I think this switch statement was used for aligning the height of credit card suggestions:

        https://source.chromium.org/chromium/chromium/src/+/6abd248ca1b4123e8ea2bec59d507991ccf65b17

        And is meant for suggestions that are directly used to complete a purchase. Maybe @fe...@google.com can give some insight?

        File chrome/browser/ui/views/autofill/popup/popup_row_factory_utils.cc
        Line 818, Patchset 8: default:
        Jihad Hanna . resolved

        Could you expand this into all the remaining enums? We usually prefer avoiding `default` in switch cases

        Haochen Feng

        done -- this makes sense to implement.

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Alexis Hétu
        • Fernando Ramirez
        • Jihad Hanna
        • Mohamed Amir Yosef
        • Vinny Persky
        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: I57d2758a6928ebc9112287fa7ade0f85508f7a6c
          Gerrit-Change-Number: 7951090
          Gerrit-PatchSet: 10
          Gerrit-Owner: Haochen Feng <haoc...@google.com>
          Gerrit-Reviewer: Alexis Hétu <su...@chromium.org>
          Gerrit-Reviewer: Fernando Ramirez <fe...@google.com>
          Gerrit-Reviewer: Haochen Feng <haoc...@google.com>
          Gerrit-Reviewer: Jihad Hanna <jihad...@google.com>
          Gerrit-Reviewer: Mohamed Amir Yosef <ma...@chromium.org>
          Gerrit-Reviewer: Vinny Persky <vinny...@google.com>
          Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
          Gerrit-Attention: Vinny Persky <vinny...@google.com>
          Gerrit-Attention: Alexis Hétu <su...@chromium.org>
          Gerrit-Attention: Jihad Hanna <jihad...@google.com>
          Gerrit-Attention: Mohamed Amir Yosef <ma...@chromium.org>
          Gerrit-Attention: Fernando Ramirez <fe...@google.com>
          Gerrit-Comment-Date: Thu, 18 Jun 2026 19:05:34 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: No
          Comment-In-Reply-To: Jihad Hanna <jihad...@google.com>
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Fernando Ramirez (Gerrit)

          unread,
          Jun 18, 2026, 3:29:10 PM (13 days ago) Jun 18
          to Haochen Feng, Alexis Hétu, Mohamed Amir Yosef, Jihad Hanna, Vinny Persky, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, Chromium Metrics Reviews, chromium...@chromium.org, osaul+aut...@google.com, armalhotra+a...@google.com, shgar+aut...@google.com, siyua+aut...@chromium.org, siashah+au...@chromium.org, vinnypersky+...@google.com, asvitkine...@chromium.org, browser-comp...@chromium.org, gcasto+w...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, tmartino+tran...@chromium.org, vasilii+watchlis...@chromium.org
          Attention needed from Alexis Hétu, Haochen Feng, Jihad Hanna, Mohamed Amir Yosef and Vinny Persky

          Fernando Ramirez added 1 comment

          File chrome/browser/ui/views/autofill/popup/popup_cell_utils.cc
          Line 378, Patchset 8: case SuggestionType::kMaximizeCreditCardBenefitsEntry:
          Jihad Hanna . unresolved

          Is it not?

          Haochen Feng

          I think this switch statement was used for aligning the height of credit card suggestions:

          https://source.chromium.org/chromium/chromium/src/+/6abd248ca1b4123e8ea2bec59d507991ccf65b17

          And is meant for suggestions that are directly used to complete a purchase. Maybe @fe...@google.com can give some insight?

          Fernando Ramirez

          I think this switch statement was used for aligning the height of credit card suggestions:

          Yup that's what it seems like.

          And is meant for suggestions that are directly used to complete a purchase.

          Given that this suggestion type is nearly identical to `kBnplEntry` (same structure), I'd move `kMaximizeCreditCardBenefitsEntry` to also return `true`. Either way I don't think it would make a difference to the height based on this logic:
          https://source.chromium.org/chromium/chromium/src/+/main:chrome/browser/ui/views/autofill/popup/popup_cell_utils.cc;l=842-862;drc=ff3daaf960144bc125b95659c757ce28f826ddc1

          Open in Gerrit

          Related details

          Attention is currently required from:
          • Alexis Hétu
          • Haochen Feng
          Gerrit-Attention: Haochen Feng <haoc...@google.com>
          Gerrit-Attention: Jihad Hanna <jihad...@google.com>
          Gerrit-Attention: Mohamed Amir Yosef <ma...@chromium.org>
          Gerrit-Comment-Date: Thu, 18 Jun 2026 19:28:49 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: No
          Comment-In-Reply-To: Haochen Feng <haoc...@google.com>
          Comment-In-Reply-To: Jihad Hanna <jihad...@google.com>
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Haochen Feng (Gerrit)

          unread,
          Jun 18, 2026, 4:27:37 PM (13 days ago) Jun 18
          to Alexis Hétu, Mohamed Amir Yosef, Jihad Hanna, Fernando Ramirez, Vinny Persky, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, Chromium Metrics Reviews, chromium...@chromium.org, osaul+aut...@google.com, armalhotra+a...@google.com, shgar+aut...@google.com, siyua+aut...@chromium.org, siashah+au...@chromium.org, vinnypersky+...@google.com, asvitkine...@chromium.org, browser-comp...@chromium.org, gcasto+w...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, tmartino+tran...@chromium.org, vasilii+watchlis...@chromium.org
          Attention needed from Alexis Hétu, Fernando Ramirez, Jihad Hanna, Mohamed Amir Yosef and Vinny Persky

          Haochen Feng added 1 comment

          File chrome/browser/ui/views/autofill/popup/popup_cell_utils.cc
          Line 378, Patchset 8: case SuggestionType::kMaximizeCreditCardBenefitsEntry:
          Jihad Hanna . resolved

          Is it not?

          Haochen Feng

          I think this switch statement was used for aligning the height of credit card suggestions:

          https://source.chromium.org/chromium/chromium/src/+/6abd248ca1b4123e8ea2bec59d507991ccf65b17

          And is meant for suggestions that are directly used to complete a purchase. Maybe @fe...@google.com can give some insight?

          Fernando Ramirez

          I think this switch statement was used for aligning the height of credit card suggestions:

          Yup that's what it seems like.

          And is meant for suggestions that are directly used to complete a purchase.

          Given that this suggestion type is nearly identical to `kBnplEntry` (same structure), I'd move `kMaximizeCreditCardBenefitsEntry` to also return `true`. Either way I don't think it would make a difference to the height based on this logic:
          https://source.chromium.org/chromium/chromium/src/+/main:chrome/browser/ui/views/autofill/popup/popup_cell_utils.cc;l=842-862;drc=ff3daaf960144bc125b95659c757ce28f826ddc1

          Haochen Feng

          done -- this makes sense

          Open in Gerrit

          Related details

          Attention is currently required from:
          • Alexis Hétu
          • Fernando Ramirez
          • Jihad Hanna
          • Mohamed Amir Yosef
          • Vinny Persky
            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: I57d2758a6928ebc9112287fa7ade0f85508f7a6c
              Gerrit-Change-Number: 7951090
              Gerrit-PatchSet: 12
              Gerrit-Owner: Haochen Feng <haoc...@google.com>
              Gerrit-Reviewer: Alexis Hétu <su...@chromium.org>
              Gerrit-Reviewer: Fernando Ramirez <fe...@google.com>
              Gerrit-Reviewer: Haochen Feng <haoc...@google.com>
              Gerrit-Reviewer: Jihad Hanna <jihad...@google.com>
              Gerrit-Reviewer: Mohamed Amir Yosef <ma...@chromium.org>
              Gerrit-Reviewer: Vinny Persky <vinny...@google.com>
              Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
              Gerrit-Attention: Vinny Persky <vinny...@google.com>
              Gerrit-Attention: Alexis Hétu <su...@chromium.org>
              Gerrit-Attention: Jihad Hanna <jihad...@google.com>
              Gerrit-Attention: Mohamed Amir Yosef <ma...@chromium.org>
              Gerrit-Attention: Fernando Ramirez <fe...@google.com>
              Gerrit-Comment-Date: Thu, 18 Jun 2026 20:27:21 +0000
              Gerrit-HasComments: Yes
              Gerrit-Has-Labels: No
              Comment-In-Reply-To: Haochen Feng <haoc...@google.com>
              Comment-In-Reply-To: Jihad Hanna <jihad...@google.com>
              Comment-In-Reply-To: Fernando Ramirez <fe...@google.com>
              satisfied_requirement
              unsatisfied_requirement
              open
              diffy

              Jihad Hanna (Gerrit)

              unread,
              Jun 18, 2026, 6:51:34 PM (13 days ago) Jun 18
              to Haochen Feng, Alexis Hétu, Mohamed Amir Yosef, Fernando Ramirez, Vinny Persky, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, Chromium Metrics Reviews, chromium...@chromium.org, osaul+aut...@google.com, armalhotra+a...@google.com, shgar+aut...@google.com, siyua+aut...@chromium.org, siashah+au...@chromium.org, vinnypersky+...@google.com, asvitkine...@chromium.org, browser-comp...@chromium.org, gcasto+w...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, tmartino+tran...@chromium.org, vasilii+watchlis...@chromium.org
              Attention needed from Alexis Hétu, Fernando Ramirez, Haochen Feng, Mohamed Amir Yosef and Vinny Persky

              Jihad Hanna voted Code-Review+1

              Code-Review+1
              Open in Gerrit

              Related details

              Attention is currently required from:
              • Alexis Hétu
              • Fernando Ramirez
              • Haochen Feng
              • Mohamed Amir Yosef
              • Vinny Persky
                Submit Requirements:
                  • requirement satisfiedCode-Coverage
                  • requirement is not satisfiedCode-Owners
                  • requirement is not satisfiedCode-Review
                  • requirement 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: I57d2758a6928ebc9112287fa7ade0f85508f7a6c
                  Gerrit-Change-Number: 7951090
                  Gerrit-PatchSet: 12
                  Gerrit-Owner: Haochen Feng <haoc...@google.com>
                  Gerrit-Reviewer: Alexis Hétu <su...@chromium.org>
                  Gerrit-Reviewer: Fernando Ramirez <fe...@google.com>
                  Gerrit-Reviewer: Haochen Feng <haoc...@google.com>
                  Gerrit-Reviewer: Jihad Hanna <jihad...@google.com>
                  Gerrit-Reviewer: Mohamed Amir Yosef <ma...@chromium.org>
                  Gerrit-Reviewer: Vinny Persky <vinny...@google.com>
                  Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
                  Gerrit-Attention: Vinny Persky <vinny...@google.com>
                  Gerrit-Attention: Alexis Hétu <su...@chromium.org>
                  Gerrit-Attention: Haochen Feng <haoc...@google.com>
                  Gerrit-Attention: Mohamed Amir Yosef <ma...@chromium.org>
                  Gerrit-Attention: Fernando Ramirez <fe...@google.com>
                  Gerrit-Comment-Date: Thu, 18 Jun 2026 22:51:16 +0000
                  Gerrit-HasComments: No
                  Gerrit-Has-Labels: Yes
                  satisfied_requirement
                  unsatisfied_requirement
                  open
                  diffy

                  Alexis Hétu (Gerrit)

                  unread,
                  Jun 19, 2026, 8:04:41 AM (13 days ago) Jun 19
                  to Haochen Feng, Jihad Hanna, Mohamed Amir Yosef, Fernando Ramirez, Vinny Persky, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, Chromium Metrics Reviews, chromium...@chromium.org, osaul+aut...@google.com, armalhotra+a...@google.com, shgar+aut...@google.com, siyua+aut...@chromium.org, siashah+au...@chromium.org, vinnypersky+...@google.com, asvitkine...@chromium.org, browser-comp...@chromium.org, gcasto+w...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, tmartino+tran...@chromium.org, vasilii+watchlis...@chromium.org
                  Attention needed from Fernando Ramirez, Haochen Feng, Mohamed Amir Yosef and Vinny Persky

                  Alexis Hétu voted and added 1 comment

                  Votes added by Alexis Hétu

                  Code-Review+1

                  1 comment

                  Patchset-level comments
                  Alexis Hétu . resolved

                  ios/ lgtm

                  Open in Gerrit

                  Related details

                  Attention is currently required from:
                  • Fernando Ramirez
                  • Haochen Feng
                  • Mohamed Amir Yosef
                  • Vinny Persky
                  Submit Requirements:
                    • requirement satisfiedCode-Coverage
                    • requirement is not satisfiedCode-Owners
                    • requirement satisfiedCode-Review
                    • requirement 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: I57d2758a6928ebc9112287fa7ade0f85508f7a6c
                    Gerrit-Change-Number: 7951090
                    Gerrit-PatchSet: 12
                    Gerrit-Owner: Haochen Feng <haoc...@google.com>
                    Gerrit-Reviewer: Alexis Hétu <su...@chromium.org>
                    Gerrit-Reviewer: Fernando Ramirez <fe...@google.com>
                    Gerrit-Reviewer: Haochen Feng <haoc...@google.com>
                    Gerrit-Reviewer: Jihad Hanna <jihad...@google.com>
                    Gerrit-Reviewer: Mohamed Amir Yosef <ma...@chromium.org>
                    Gerrit-Reviewer: Vinny Persky <vinny...@google.com>
                    Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
                    Gerrit-Attention: Vinny Persky <vinny...@google.com>
                    Gerrit-Attention: Haochen Feng <haoc...@google.com>
                    Gerrit-Attention: Mohamed Amir Yosef <ma...@chromium.org>
                    Gerrit-Attention: Fernando Ramirez <fe...@google.com>
                    Gerrit-Comment-Date: Fri, 19 Jun 2026 12:04:27 +0000
                    Gerrit-HasComments: Yes
                    Gerrit-Has-Labels: Yes
                    satisfied_requirement
                    unsatisfied_requirement
                    open
                    diffy

                    Mohamed Amir Yosef (Gerrit)

                    unread,
                    Jun 19, 2026, 11:09:25 AM (13 days ago) Jun 19
                    to Haochen Feng, Alexis Hétu, Jihad Hanna, Fernando Ramirez, Vinny Persky, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, Chromium Metrics Reviews, chromium...@chromium.org, osaul+aut...@google.com, armalhotra+a...@google.com, shgar+aut...@google.com, siyua+aut...@chromium.org, siashah+au...@chromium.org, vinnypersky+...@google.com, asvitkine...@chromium.org, browser-comp...@chromium.org, gcasto+w...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, tmartino+tran...@chromium.org, vasilii+watchlis...@chromium.org
                    Attention needed from Fernando Ramirez, Haochen Feng and Vinny Persky

                    Mohamed Amir Yosef voted and added 1 comment

                    Votes added by Mohamed Amir Yosef

                    Code-Review+1

                    1 comment

                    Patchset-level comments
                    Mohamed Amir Yosef . resolved

                    LGTM

                    Thank you!

                    Open in Gerrit

                    Related details

                    Attention is currently required from:
                    • Fernando Ramirez
                    • Haochen Feng
                    • Vinny Persky
                    Submit Requirements:
                    • requirement satisfiedCode-Coverage
                    • requirement satisfiedCode-Owners
                    • requirement satisfiedCode-Review
                    • requirement 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: I57d2758a6928ebc9112287fa7ade0f85508f7a6c
                    Gerrit-Change-Number: 7951090
                    Gerrit-PatchSet: 12
                    Gerrit-Owner: Haochen Feng <haoc...@google.com>
                    Gerrit-Reviewer: Alexis Hétu <su...@chromium.org>
                    Gerrit-Reviewer: Fernando Ramirez <fe...@google.com>
                    Gerrit-Reviewer: Haochen Feng <haoc...@google.com>
                    Gerrit-Reviewer: Jihad Hanna <jihad...@google.com>
                    Gerrit-Reviewer: Mohamed Amir Yosef <ma...@chromium.org>
                    Gerrit-Reviewer: Vinny Persky <vinny...@google.com>
                    Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
                    Gerrit-Attention: Vinny Persky <vinny...@google.com>
                    Gerrit-Attention: Haochen Feng <haoc...@google.com>
                    Gerrit-Attention: Fernando Ramirez <fe...@google.com>
                    Gerrit-Comment-Date: Fri, 19 Jun 2026 15:09:03 +0000
                    Gerrit-HasComments: Yes
                    Gerrit-Has-Labels: Yes
                    satisfied_requirement
                    open
                    diffy

                    Haochen Feng (Gerrit)

                    unread,
                    Jun 22, 2026, 1:29:50 PM (10 days ago) Jun 22
                    to Mohamed Amir Yosef, Alexis Hétu, Jihad Hanna, Fernando Ramirez, Vinny Persky, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, Chromium Metrics Reviews, chromium...@chromium.org, osaul+aut...@google.com, armalhotra+a...@google.com, shgar+aut...@google.com, siyua+aut...@chromium.org, siashah+au...@chromium.org, vinnypersky+...@google.com, asvitkine...@chromium.org, browser-comp...@chromium.org, gcasto+w...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, tmartino+tran...@chromium.org, vasilii+watchlis...@chromium.org
                    Attention needed from Fernando Ramirez and Vinny Persky

                    Haochen Feng voted Commit-Queue+2

                    Commit-Queue+2
                    Open in Gerrit

                    Related details

                    Attention is currently required from:
                    • Fernando Ramirez
                    • Vinny Persky
                    Gerrit-Attention: Fernando Ramirez <fe...@google.com>
                    Gerrit-Comment-Date: Mon, 22 Jun 2026 17:29:05 +0000
                    Gerrit-HasComments: No
                    Gerrit-Has-Labels: Yes
                    satisfied_requirement
                    open
                    diffy

                    Vinny Persky (Gerrit)

                    unread,
                    Jun 22, 2026, 2:30:29 PM (9 days ago) Jun 22
                    to Haochen Feng, Mohamed Amir Yosef, Alexis Hétu, Jihad Hanna, Fernando Ramirez, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, Chromium Metrics Reviews, chromium...@chromium.org, osaul+aut...@google.com, armalhotra+a...@google.com, shgar+aut...@google.com, siyua+aut...@chromium.org, siashah+au...@chromium.org, vinnypersky+...@google.com, asvitkine...@chromium.org, browser-comp...@chromium.org, gcasto+w...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, tmartino+tran...@chromium.org, vasilii+watchlis...@chromium.org
                    Attention needed from Fernando Ramirez and Haochen Feng

                    Vinny Persky voted Code-Review+1

                    Code-Review+1
                    Open in Gerrit

                    Related details

                    Attention is currently required from:
                    • Fernando Ramirez
                    • Haochen Feng
                    Submit Requirements:
                    • requirement satisfiedCode-Coverage
                    • requirement satisfiedCode-Owners
                    • requirement satisfiedCode-Review
                    • requirement 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: I57d2758a6928ebc9112287fa7ade0f85508f7a6c
                    Gerrit-Change-Number: 7951090
                    Gerrit-PatchSet: 12
                    Gerrit-Owner: Haochen Feng <haoc...@google.com>
                    Gerrit-Reviewer: Alexis Hétu <su...@chromium.org>
                    Gerrit-Reviewer: Fernando Ramirez <fe...@google.com>
                    Gerrit-Reviewer: Haochen Feng <haoc...@google.com>
                    Gerrit-Reviewer: Jihad Hanna <jihad...@google.com>
                    Gerrit-Reviewer: Mohamed Amir Yosef <ma...@chromium.org>
                    Gerrit-Reviewer: Vinny Persky <vinny...@google.com>
                    Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
                    Gerrit-Attention: Haochen Feng <haoc...@google.com>
                    Gerrit-Attention: Fernando Ramirez <fe...@google.com>
                    Gerrit-Comment-Date: Mon, 22 Jun 2026 18:29:50 +0000
                    Gerrit-HasComments: No
                    Gerrit-Has-Labels: Yes
                    satisfied_requirement
                    open
                    diffy

                    Haochen Feng (Gerrit)

                    unread,
                    Jun 22, 2026, 4:44:06 PM (9 days ago) Jun 22
                    to Vinny Persky, Mohamed Amir Yosef, Alexis Hétu, Jihad Hanna, Fernando Ramirez, android-bu...@system.gserviceaccount.com, Chromium LUCI CQ, Chromium Metrics Reviews, chromium...@chromium.org, osaul+aut...@google.com, armalhotra+a...@google.com, shgar+aut...@google.com, siyua+aut...@chromium.org, siashah+au...@chromium.org, vinnypersky+...@google.com, asvitkine...@chromium.org, browser-comp...@chromium.org, gcasto+w...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, tmartino+tran...@chromium.org, vasilii+watchlis...@chromium.org
                    Attention needed from Fernando Ramirez

                    Haochen Feng voted Commit-Queue+2

                    Commit-Queue+2
                    Open in Gerrit

                    Related details

                    Attention is currently required from:
                    • Fernando Ramirez
                    Submit Requirements:
                    • requirement satisfiedCode-Coverage
                    • requirement satisfiedCode-Owners
                    • requirement satisfiedCode-Review
                    • requirement 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: I57d2758a6928ebc9112287fa7ade0f85508f7a6c
                    Gerrit-Change-Number: 7951090
                    Gerrit-PatchSet: 13
                    Gerrit-Owner: Haochen Feng <haoc...@google.com>
                    Gerrit-Reviewer: Alexis Hétu <su...@chromium.org>
                    Gerrit-Reviewer: Fernando Ramirez <fe...@google.com>
                    Gerrit-Reviewer: Haochen Feng <haoc...@google.com>
                    Gerrit-Reviewer: Jihad Hanna <jihad...@google.com>
                    Gerrit-Reviewer: Mohamed Amir Yosef <ma...@chromium.org>
                    Gerrit-Reviewer: Vinny Persky <vinny...@google.com>
                    Gerrit-CC: Chromium Metrics Reviews <chromium-met...@google.com>
                    Gerrit-Attention: Fernando Ramirez <fe...@google.com>
                    Gerrit-Comment-Date: Mon, 22 Jun 2026 20:43:48 +0000
                    Gerrit-HasComments: No
                    Gerrit-Has-Labels: Yes
                    satisfied_requirement
                    open
                    diffy

                    Chromium LUCI CQ (Gerrit)

                    unread,
                    Jun 22, 2026, 6:05:15 PM (9 days ago) Jun 22
                    to Haochen Feng, Vinny Persky, Mohamed Amir Yosef, Alexis Hétu, Jihad Hanna, Fernando Ramirez, android-bu...@system.gserviceaccount.com, Chromium Metrics Reviews, chromium...@chromium.org, osaul+aut...@google.com, armalhotra+a...@google.com, shgar+aut...@google.com, siyua+aut...@chromium.org, siashah+au...@chromium.org, vinnypersky+...@google.com, asvitkine...@chromium.org, browser-comp...@chromium.org, gcasto+w...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, tmartino+tran...@chromium.org, vasilii+watchlis...@chromium.org

                    Chromium LUCI CQ submitted the change

                    Unreviewed changes

                    12 is the latest approved patch-set.
                    No files were changed between the latest approved patch-set and the submitted one.

                    Change information

                    Commit message:
                    [AF] Add kMaximizeCreditCardBenefitsEntry enum

                    This CL includes the enum for the new `SuggestionType` of
                    `kMaximizeCreditCardBenefitsEntry`, as part of the AI card
                    recommendation intern project.

                    Notes:
                    - returns true for `IsCreditCardFooterSuggestion` so the "Maximize
                    rewards" Suggestion can be placed at the bottom of the suggestions
                    popup.

                    - however, for `GetSuggestionSection`, this suggestion returns

                    `SuggestionSection::kBody;` so it can be as large as a credit card
                    suggestion, or BNPL suggestion.
                    Design: go/autofill-ai-card-recommendations-design
                    Bug: 521486356
                    Change-Id: I57d2758a6928ebc9112287fa7ade0f85508f7a6c
                    Reviewed-by: Jihad Hanna <jihad...@google.com>
                    Reviewed-by: Vinny Persky <vinny...@google.com>
                    Reviewed-by: Alexis Hétu <su...@chromium.org>
                    Reviewed-by: Mohamed Amir Yosef <ma...@chromium.org>
                    Commit-Queue: Haochen Feng <haoc...@google.com>
                    Cr-Commit-Position: refs/heads/main@{#1650609}
                    Files:
                    • M chrome/browser/ui/autofill/autofill_suggestion_controller_utils.cc
                    • M chrome/browser/ui/views/autofill/popup/popup_cell_utils.cc
                    • M chrome/browser/ui/views/autofill/popup/popup_row_factory_utils.cc
                    • M chrome/browser/ui/views/autofill/popup/popup_view_utils.cc
                    • M components/autofill/core/browser/filling/filling_product.cc
                    • M components/autofill/core/browser/foundations/browser_autofill_manager.cc
                    • M components/autofill/core/browser/suggestions/payments/payments_suggestion_generator_util.cc
                    • M components/autofill/core/browser/suggestions/suggestion_type.cc
                    • M components/autofill/core/browser/suggestions/suggestion_type.h
                    • M components/autofill/core/browser/ui/autofill_external_delegate.cc
                    • M components/autofill/core/browser/ui/payments/omnibox_autofill_delegate.cc
                    • M components/autofill/ios/browser/autofill_agent.mm
                    • M components/password_manager/core/browser/password_autofill_manager.cc
                    • M ios/chrome/browser/autofill/form_input_accessory/ui/form_suggestion_label.mm
                    • M tools/metrics/histograms/metadata/autofill/enums.xml
                    Change size: M
                    Delta: 15 files changed, 79 insertions(+), 3 deletions(-)
                    Branch: refs/heads/main
                    Submit Requirements:
                    • requirement satisfiedCode-Review: +1 by Mohamed Amir Yosef, +1 by Jihad Hanna, +1 by Vinny Persky, +1 by Alexis Hétu
                    Open in Gerrit
                    Inspect html for hidden footers to help with email filtering. To unsubscribe visit settings. DiffyGerrit
                    Gerrit-MessageType: merged
                    Gerrit-Project: chromium/src
                    Gerrit-Branch: main
                    Gerrit-Change-Id: I57d2758a6928ebc9112287fa7ade0f85508f7a6c
                    Gerrit-Change-Number: 7951090
                    Gerrit-PatchSet: 14
                    Gerrit-Owner: Haochen Feng <haoc...@google.com>
                    Gerrit-Reviewer: Alexis Hétu <su...@chromium.org>
                    Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
                    Gerrit-Reviewer: Fernando Ramirez <fe...@google.com>
                    Gerrit-Reviewer: Haochen Feng <haoc...@google.com>
                    Gerrit-Reviewer: Jihad Hanna <jihad...@google.com>
                    Gerrit-Reviewer: Mohamed Amir Yosef <ma...@chromium.org>
                    Gerrit-Reviewer: Vinny Persky <vinny...@google.com>
                    open
                    diffy
                    satisfied_requirement
                    Reply all
                    Reply to author
                    Forward
                    0 new messages