[iOS][Forms AI] Enable the new add menu for Addresses and more [chromium/src : main]

0 views
Skip to first unread message

Alexis Hétu (Gerrit)

unread,
Mar 12, 2026, 3:11:33 PM (11 days ago) Mar 12
to Leo Zhao, Tommy Martino, Chromium LUCI CQ, chromium...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, srahim...@chromium.org, tmartino+tran...@chromium.org
Attention needed from Leo Zhao and Tommy Martino

Alexis Hétu added 1 comment

File ios/chrome/browser/settings/ui_bundled/autofill/autofill_profile_table_view_controller.mm
Line 1579, Patchset 7 (Latest): autofill::features::kAutofillAiWithDataSchema) &&
Alexis Hétu . unresolved

I think this feature isn't required here. Having `kAutofillAiCreateEntityDataManager` should be sufficient to view or modify entities. `kAutofillAiCreateEntityDataManager` is required to have an `_entityDataManager`, so checking `_entityDataManager` should be enough.

Open in Gerrit

Related details

Attention is currently required from:
  • Leo Zhao
  • Tommy Martino
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: I51462aec41eaf36fabd9304bcf12c5cd4f94866a
Gerrit-Change-Number: 7648198
Gerrit-PatchSet: 7
Gerrit-Owner: Leo Zhao <leo...@google.com>
Gerrit-Reviewer: Alexis Hétu <su...@chromium.org>
Gerrit-Reviewer: Leo Zhao <leo...@google.com>
Gerrit-Reviewer: Tommy Martino <tmar...@chromium.org>
Gerrit-Attention: Leo Zhao <leo...@google.com>
Gerrit-Attention: Tommy Martino <tmar...@chromium.org>
Gerrit-Comment-Date: Thu, 12 Mar 2026 19:11:28 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
satisfied_requirement
unsatisfied_requirement
open
diffy

Leo Zhao (Gerrit)

unread,
Mar 12, 2026, 7:18:47 PM (11 days ago) Mar 12
to Tommy Martino, Chromium LUCI CQ, Alexis Hétu, chromium...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, srahim...@chromium.org, tmartino+tran...@chromium.org
Attention needed from Alexis Hétu

Leo Zhao added 1 comment

File ios/chrome/browser/settings/ui_bundled/autofill/autofill_profile_table_view_controller.mm
Line 1579, Patchset 7 (Latest): autofill::features::kAutofillAiWithDataSchema) &&
Alexis Hétu . unresolved

I think this feature isn't required here. Having `kAutofillAiCreateEntityDataManager` should be sufficient to view or modify entities. `kAutofillAiCreateEntityDataManager` is required to have an `_entityDataManager`, so checking `_entityDataManager` should be enough.

Attention is currently required from:
  • Alexis Hétu
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: I51462aec41eaf36fabd9304bcf12c5cd4f94866a
Gerrit-Change-Number: 7648198
Gerrit-PatchSet: 7
Gerrit-Owner: Leo Zhao <leo...@google.com>
Gerrit-Reviewer: Alexis Hétu <su...@chromium.org>
Gerrit-Reviewer: Leo Zhao <leo...@google.com>
Gerrit-Reviewer: Tommy Martino <tmar...@chromium.org>
Gerrit-Attention: Alexis Hétu <su...@chromium.org>
Gerrit-Comment-Date: Thu, 12 Mar 2026 23:18:42 +0000
Gerrit-HasComments: Yes
Gerrit-Has-Labels: No
Comment-In-Reply-To: Alexis Hétu <su...@chromium.org>
satisfied_requirement
unsatisfied_requirement
open
diffy

Leo Zhao (Gerrit)

unread,
Mar 13, 2026, 8:53:26 AM (10 days ago) Mar 13
to Tommy Martino, Chromium LUCI CQ, Alexis Hétu, chromium...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, srahim...@chromium.org, tmartino+tran...@chromium.org
Attention needed from Alexis Hétu

Leo Zhao added 1 comment

File ios/chrome/browser/settings/ui_bundled/autofill/autofill_profile_table_view_controller.mm
Line 1579, Patchset 7: autofill::features::kAutofillAiWithDataSchema) &&
Alexis Hétu . resolved

I think this feature isn't required here. Having `kAutofillAiCreateEntityDataManager` should be sufficient to view or modify entities. `kAutofillAiCreateEntityDataManager` is required to have an `_entityDataManager`, so checking `_entityDataManager` should be enough.

Leo Zhao

I just checked Android code:
https://chromium.googlesource.com/chromium/src/+/main/chrome/android/java/src/org/chromium/chrome/browser/autofill/settings/AutofillProfilesFragment.java#448.
It appears that Android uses a stricter check.
The change was made yesterday at here:
https://chromium.googlesource.com/chromium/src/+/bbcd32a640f713f57bff96c4a6d45b211b8c1eef

Leo Zhao

I have updated this function using Android's check as reference. Since on iOS, the "Add" button is for adding addresses, we are not disabling it. When adding entities are not allowed, it reverts back to simply add a new address without the additional pop-up menu. So for users who are not eligible to Autofill AI, it should behave the same as before Autofill AI was added. A recording is added. What do you think?

Open in Gerrit

Related details

Attention is currently required from:
  • Alexis Hétu
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: I51462aec41eaf36fabd9304bcf12c5cd4f94866a
    Gerrit-Change-Number: 7648198
    Gerrit-PatchSet: 9
    Gerrit-Owner: Leo Zhao <leo...@google.com>
    Gerrit-Reviewer: Alexis Hétu <su...@chromium.org>
    Gerrit-Reviewer: Leo Zhao <leo...@google.com>
    Gerrit-Reviewer: Tommy Martino <tmar...@chromium.org>
    Gerrit-Attention: Alexis Hétu <su...@chromium.org>
    Gerrit-Comment-Date: Fri, 13 Mar 2026 12:53:12 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    Comment-In-Reply-To: Alexis Hétu <su...@chromium.org>
    Comment-In-Reply-To: Leo Zhao <leo...@google.com>
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Leo Zhao (Gerrit)

    unread,
    Mar 13, 2026, 4:39:01 PM (10 days ago) Mar 13
    to Bruno Braga, Tommy Martino, Chromium LUCI CQ, Alexis Hétu, chromium...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, srahim...@chromium.org, tmartino+tran...@chromium.org
    Attention needed from Bruno Braga

    Leo Zhao added 1 comment

    Patchset-level comments
    File-level comment, Patchset 9 (Latest):
    Leo Zhao . resolved

    Hi Bruno. Can you please review `canAddEntities` in `ios/chrome/browser/settings/ui_bundled/autofill/autofill_profile_table_view_controller.mm`. It is about showing the entities in the Add menu. It has been discussed before that the user can view, delete entities as long as there are entities stored locally. What about adding new entities? The latest patchset uses a logic from what Android is using. Please take a look to see if that is the intended logic we want to go with.

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Bruno Braga
    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: I51462aec41eaf36fabd9304bcf12c5cd4f94866a
    Gerrit-Change-Number: 7648198
    Gerrit-PatchSet: 9
    Gerrit-Owner: Leo Zhao <leo...@google.com>
    Gerrit-Reviewer: Alexis Hétu <su...@chromium.org>
    Gerrit-Reviewer: Bruno Braga <bruno...@google.com>
    Gerrit-Reviewer: Leo Zhao <leo...@google.com>
    Gerrit-Reviewer: Tommy Martino <tmar...@chromium.org>
    Gerrit-Attention: Bruno Braga <bruno...@google.com>
    Gerrit-Comment-Date: Fri, 13 Mar 2026 20:38:56 +0000
    Gerrit-HasComments: Yes
    Gerrit-Has-Labels: No
    satisfied_requirement
    unsatisfied_requirement
    open
    diffy

    Bruno Braga (Gerrit)

    unread,
    Mar 18, 2026, 5:07:22 AM (5 days ago) Mar 18
    to Leo Zhao, Tommy Martino, Chromium LUCI CQ, Alexis Hétu, chromium...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, srahim...@chromium.org, tmartino+tran...@chromium.org
    Attention needed from Leo Zhao

    Bruno Braga added 1 comment

    Commit Message
    Line 18, Patchset 9 (Latest):https://drive.google.com/file/d/1vBT3t9-S6Tdh1_XDo8lx6F0PWCANjB47/view?usp=sharing
    Bruno Braga . unresolved

    Is this really the UI we want? In other platforms we simply disable the add buttons for each entity. With this UX how is the user going to know the feature exists and that it is disabled?

    Open in Gerrit

    Related details

    Attention is currently required from:
    • Leo Zhao
    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: I51462aec41eaf36fabd9304bcf12c5cd4f94866a
      Gerrit-Change-Number: 7648198
      Gerrit-PatchSet: 9
      Gerrit-Owner: Leo Zhao <leo...@google.com>
      Gerrit-Reviewer: Alexis Hétu <su...@chromium.org>
      Gerrit-Reviewer: Bruno Braga <bruno...@google.com>
      Gerrit-Reviewer: Leo Zhao <leo...@google.com>
      Gerrit-Reviewer: Tommy Martino <tmar...@chromium.org>
      Gerrit-Attention: Leo Zhao <leo...@google.com>
      Gerrit-Comment-Date: Wed, 18 Mar 2026 09:07:08 +0000
      Gerrit-HasComments: Yes
      Gerrit-Has-Labels: No
      satisfied_requirement
      unsatisfied_requirement
      open
      diffy

      Leo Zhao (Gerrit)

      unread,
      Mar 18, 2026, 8:03:28 AM (5 days ago) Mar 18
      to Bruno Braga, Tommy Martino, Chromium LUCI CQ, Alexis Hétu, chromium...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, srahim...@chromium.org, tmartino+tran...@chromium.org
      Attention needed from Bruno Braga

      Leo Zhao added 1 comment

      Commit Message
      Bruno Braga . resolved

      Is this really the UI we want? In other platforms we simply disable the add buttons for each entity. With this UX how is the user going to know the feature exists and that it is disabled?

      Leo Zhao

      Are we going to disallow users adding entities based on the conditions added in the code here? If those condition checks are confirmed, then I can work with designers to see what the UI should look like for iOS.

      Open in Gerrit

      Related details

      Attention is currently required from:
      • Bruno Braga
      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: I51462aec41eaf36fabd9304bcf12c5cd4f94866a
        Gerrit-Change-Number: 7648198
        Gerrit-PatchSet: 9
        Gerrit-Owner: Leo Zhao <leo...@google.com>
        Gerrit-Reviewer: Alexis Hétu <su...@chromium.org>
        Gerrit-Reviewer: Bruno Braga <bruno...@google.com>
        Gerrit-Reviewer: Leo Zhao <leo...@google.com>
        Gerrit-Reviewer: Tommy Martino <tmar...@chromium.org>
        Gerrit-Attention: Bruno Braga <bruno...@google.com>
        Gerrit-Comment-Date: Wed, 18 Mar 2026 12:03:20 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        Comment-In-Reply-To: Bruno Braga <bruno...@google.com>
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Bruno Braga (Gerrit)

        unread,
        Mar 18, 2026, 8:13:35 AM (5 days ago) Mar 18
        to Leo Zhao, Tommy Martino, Chromium LUCI CQ, Alexis Hétu, chromium...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, srahim...@chromium.org, tmartino+tran...@chromium.org
        Attention needed from Leo Zhao

        Bruno Braga added 1 comment

        Commit Message
        Bruno Braga . resolved

        Is this really the UI we want? In other platforms we simply disable the add buttons for each entity. With this UX how is the user going to know the feature exists and that it is disabled?

        Leo Zhao

        Are we going to disallow users adding entities based on the conditions added in the code here? If those condition checks are confirmed, then I can work with designers to see what the UI should look like for iOS.

        Bruno Braga

        if an user is part of the experiment but is not eligible for some reason (address pref off, enterprise policy off, opted-out etc), we should still show them what entities they would be able to add if they correctly enrolled.

        This would mean still displaying the add buttons but with a disabled style (non clickable)

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Leo Zhao
        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: I51462aec41eaf36fabd9304bcf12c5cd4f94866a
        Gerrit-Change-Number: 7648198
        Gerrit-PatchSet: 9
        Gerrit-Owner: Leo Zhao <leo...@google.com>
        Gerrit-Reviewer: Alexis Hétu <su...@chromium.org>
        Gerrit-Reviewer: Bruno Braga <bruno...@google.com>
        Gerrit-Reviewer: Leo Zhao <leo...@google.com>
        Gerrit-Reviewer: Tommy Martino <tmar...@chromium.org>
        Gerrit-Attention: Leo Zhao <leo...@google.com>
        Gerrit-Comment-Date: Wed, 18 Mar 2026 12:13:20 +0000
        Gerrit-HasComments: Yes
        Gerrit-Has-Labels: No
        Comment-In-Reply-To: Leo Zhao <leo...@google.com>
        Comment-In-Reply-To: Bruno Braga <bruno...@google.com>
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Leo Zhao (Gerrit)

        unread,
        Mar 18, 2026, 9:51:10 AM (5 days ago) Mar 18
        to Bruno Braga, Tommy Martino, Chromium LUCI CQ, Alexis Hétu, chromium...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, srahim...@chromium.org, tmartino+tran...@chromium.org
        Attention needed from Bruno Braga

        Leo Zhao added 1 comment

        Commit Message
        Bruno Braga . resolved

        Is this really the UI we want? In other platforms we simply disable the add buttons for each entity. With this UX how is the user going to know the feature exists and that it is disabled?

        Leo Zhao

        Are we going to disallow users adding entities based on the conditions added in the code here? If those condition checks are confirmed, then I can work with designers to see what the UI should look like for iOS.

        Bruno Braga

        if an user is part of the experiment but is not eligible for some reason (address pref off, enterprise policy off, opted-out etc), we should still show them what entities they would be able to add if they correctly enrolled.

        This would mean still displaying the add buttons but with a disabled style (non clickable)

        Leo Zhao

        I talked with Liang. iOS has the popup style menu, it is not ideal to have 6 of the 7 button disabled. When the feature is rolled out, whether or not `kEnableOrDisable` is an allowed action is the flag to disable or hide the button, which usually means enterprise policy off, or other less frequent cases. The conclusion is that we can go with this for now, and devise a solution later if needed.

        Open in Gerrit

        Related details

        Attention is currently required from:
        • Bruno Braga
        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: I51462aec41eaf36fabd9304bcf12c5cd4f94866a
        Gerrit-Change-Number: 7648198
        Gerrit-PatchSet: 9
        Gerrit-Owner: Leo Zhao <leo...@google.com>
        Gerrit-Reviewer: Alexis Hétu <su...@chromium.org>
        Gerrit-Reviewer: Bruno Braga <bruno...@google.com>
        Gerrit-Reviewer: Leo Zhao <leo...@google.com>
        Gerrit-Reviewer: Tommy Martino <tmar...@chromium.org>
        Gerrit-Attention: Bruno Braga <bruno...@google.com>
        Gerrit-Comment-Date: Wed, 18 Mar 2026 13:51:03 +0000
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Leo Zhao (Gerrit)

        unread,
        Mar 18, 2026, 11:00:31 AM (5 days ago) Mar 18
        to Bruno Braga, Tommy Martino, Chromium LUCI CQ, Alexis Hétu, chromium...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, srahim...@chromium.org, tmartino+tran...@chromium.org
        Attention needed from Bruno Braga

        Leo Zhao added 1 comment

        Commit Message
        Bruno Braga . resolved

        Is this really the UI we want? In other platforms we simply disable the add buttons for each entity. With this UX how is the user going to know the feature exists and that it is disabled?

        Leo Zhao

        Are we going to disallow users adding entities based on the conditions added in the code here? If those condition checks are confirmed, then I can work with designers to see what the UI should look like for iOS.

        Bruno Braga

        if an user is part of the experiment but is not eligible for some reason (address pref off, enterprise policy off, opted-out etc), we should still show them what entities they would be able to add if they correctly enrolled.

        This would mean still displaying the add buttons but with a disabled style (non clickable)

        Leo Zhao

        I talked with Liang. iOS has the popup style menu, it is not ideal to have 6 of the 7 button disabled. When the feature is rolled out, whether or not `kEnableOrDisable` is an allowed action is the flag to disable or hide the button, which usually means enterprise policy off, or other less frequent cases. The conclusion is that we can go with this for now, and devise a solution later if needed.

        Leo Zhao

        More discussions, this is the plan:

        • when entity data manager is not available, then we skip the Add menu. Add behaves as it is today.
        • when entity data manager is available, but based on the conditions adding entities is disabled, then we show Add menu, with entities items disabled.
        • I will push a change later today.
        Gerrit-Comment-Date: Wed, 18 Mar 2026 15:00:23 +0000
        satisfied_requirement
        unsatisfied_requirement
        open
        diffy

        Bruno Braga (Gerrit)

        unread,
        Mar 18, 2026, 12:50:17 PM (5 days ago) Mar 18
        to Leo Zhao, Tommy Martino, Chromium LUCI CQ, Alexis Hétu, chromium...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, srahim...@chromium.org, tmartino+tran...@chromium.org
        Attention needed from Leo Zhao

        Bruno Braga voted and added 2 comments

        Votes added by Bruno Braga

        Code-Review+1

        2 comments

        Patchset-level comments
        Leo Zhao . resolved

        Hi Bruno. Can you please review `canAddEntities` in `ios/chrome/browser/settings/ui_bundled/autofill/autofill_profile_table_view_controller.mm`. It is about showing the entities in the Add menu. It has been discussed before that the user can view, delete entities as long as there are entities stored locally. What about adding new entities? The latest patchset uses a logic from what Android is using. Please take a look to see if that is the intended logic we want to go with.

        Bruno Braga

        Yes, the user should be able to edit or delete existing entities. Your logic looks correct.

        Also double check that if the main feature flag kAutofillAiWithDataSchema is off but kAutofillAiCreateEntityDataManager is on, the user should still be able to see, edit and delete existing entities. All other feature should be unavailable.

        This covers the case of a possible rollback

        File ios/chrome/browser/settings/ui_bundled/autofill/autofill_profile_table_view_controller.mm
        Open in Gerrit

        Related details

        Attention is currently required from:
        • Leo Zhao
        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: I51462aec41eaf36fabd9304bcf12c5cd4f94866a
          Gerrit-Change-Number: 7648198
          Gerrit-PatchSet: 9
          Gerrit-Owner: Leo Zhao <leo...@google.com>
          Gerrit-Reviewer: Alexis Hétu <su...@chromium.org>
          Gerrit-Reviewer: Bruno Braga <bruno...@google.com>
          Gerrit-Reviewer: Leo Zhao <leo...@google.com>
          Gerrit-Reviewer: Tommy Martino <tmar...@chromium.org>
          Gerrit-Attention: Leo Zhao <leo...@google.com>
          Gerrit-Comment-Date: Wed, 18 Mar 2026 16:50:01 +0000
          Gerrit-HasComments: Yes
          Gerrit-Has-Labels: Yes
          Comment-In-Reply-To: Leo Zhao <leo...@google.com>
          satisfied_requirement
          unsatisfied_requirement
          open
          diffy

          Leo Zhao (Gerrit)

          unread,
          Mar 18, 2026, 7:34:13 PM (5 days ago) Mar 18
          to Bruno Braga, Tommy Martino, Chromium LUCI CQ, Alexis Hétu, chromium...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, srahim...@chromium.org, tmartino+tran...@chromium.org

          Leo Zhao added 1 comment

          File ios/chrome/browser/settings/ui_bundled/autofill/autofill_profile_table_view_controller.mm
          Line 1578, Patchset 9: if (!base::FeatureList::IsEnabled(
          autofill::features::kAutofillAiWithDataSchema) ||
          Bruno Braga . resolved
          Leo Zhao

          I have removed this additional feature check in patchset 12.

          I noticed that when Autofill (Save and fill addresses) is toggled off, `autofill::GetAutofillAiOptInStatus` returns false, therefore, makes entities menu disabled, like shown in the video under "Only Entities enabled (features flags enabled + autofill disabled)". Just an observation.

          Open in Gerrit

          Related details

          Attention set is empty
          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: I51462aec41eaf36fabd9304bcf12c5cd4f94866a
            Gerrit-Change-Number: 7648198
            Gerrit-PatchSet: 12
            Gerrit-Owner: Leo Zhao <leo...@google.com>
            Gerrit-Reviewer: Alexis Hétu <su...@chromium.org>
            Gerrit-Reviewer: Bruno Braga <bruno...@google.com>
            Gerrit-Reviewer: Leo Zhao <leo...@google.com>
            Gerrit-Reviewer: Tommy Martino <tmar...@chromium.org>
            Gerrit-Comment-Date: Wed, 18 Mar 2026 23:34:05 +0000
            Gerrit-HasComments: Yes
            Gerrit-Has-Labels: No
            Comment-In-Reply-To: Bruno Braga <bruno...@google.com>
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            Tommy Martino (Gerrit)

            unread,
            Mar 20, 2026, 10:09:25 AM (3 days ago) Mar 20
            to Leo Zhao, Bruno Braga, Chromium LUCI CQ, Alexis Hétu, chromium...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, srahim...@chromium.org, tmartino+tran...@chromium.org
            Attention needed from Leo Zhao

            Tommy Martino voted and added 2 comments

            Votes added by Tommy Martino

            Code-Review+1

            2 comments

            Patchset-level comments
            File ios/chrome/browser/settings/ui_bundled/autofill/autofill_profile_table_view_controller.mm
            Line 1603, Patchset 13 (Latest): entitiesEnabled:(BOOL)entitiesEnabled {
            Tommy Martino . unresolved

            nit: since the only value you ever pass for this param is `[self canAddEntities]`, you can remove the param and just call `[self canAddEntities]` directly.

            Open in Gerrit

            Related details

            Attention is currently required from:
            • Leo Zhao
            Submit Requirements:
            • requirement satisfiedCode-Coverage
            • requirement 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: I51462aec41eaf36fabd9304bcf12c5cd4f94866a
            Gerrit-Change-Number: 7648198
            Gerrit-PatchSet: 13
            Gerrit-Owner: Leo Zhao <leo...@google.com>
            Gerrit-Reviewer: Alexis Hétu <su...@chromium.org>
            Gerrit-Reviewer: Bruno Braga <bruno...@google.com>
            Gerrit-Reviewer: Leo Zhao <leo...@google.com>
            Gerrit-Reviewer: Tommy Martino <tmar...@chromium.org>
            Gerrit-Attention: Leo Zhao <leo...@google.com>
            Gerrit-Comment-Date: Fri, 20 Mar 2026 14:09:20 +0000
            Gerrit-HasComments: Yes
            Gerrit-Has-Labels: Yes
            satisfied_requirement
            unsatisfied_requirement
            open
            diffy

            Leo Zhao (Gerrit)

            unread,
            Mar 20, 2026, 11:13:01 AM (3 days ago) Mar 20
            to Tommy Martino, Bruno Braga, Chromium LUCI CQ, Alexis Hétu, chromium...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, srahim...@chromium.org, tmartino+tran...@chromium.org

            Leo Zhao added 1 comment

            File ios/chrome/browser/settings/ui_bundled/autofill/autofill_profile_table_view_controller.mm
            Line 1603, Patchset 13: entitiesEnabled:(BOOL)entitiesEnabled {
            Tommy Martino . resolved

            nit: since the only value you ever pass for this param is `[self canAddEntities]`, you can remove the param and just call `[self canAddEntities]` directly.

            Leo Zhao

            Updated.

            Open in Gerrit

            Related details

            Attention set is empty
            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: I51462aec41eaf36fabd9304bcf12c5cd4f94866a
              Gerrit-Change-Number: 7648198
              Gerrit-PatchSet: 14
              Gerrit-Owner: Leo Zhao <leo...@google.com>
              Gerrit-Reviewer: Alexis Hétu <su...@chromium.org>
              Gerrit-Reviewer: Bruno Braga <bruno...@google.com>
              Gerrit-Reviewer: Leo Zhao <leo...@google.com>
              Gerrit-Reviewer: Tommy Martino <tmar...@chromium.org>
              Gerrit-Comment-Date: Fri, 20 Mar 2026 15:12:55 +0000
              Gerrit-HasComments: Yes
              Gerrit-Has-Labels: No
              Comment-In-Reply-To: Tommy Martino <tmar...@chromium.org>
              satisfied_requirement
              open
              diffy

              Leo Zhao (Gerrit)

              unread,
              Mar 20, 2026, 11:13:11 AM (3 days ago) Mar 20
              to Tommy Martino, Bruno Braga, Chromium LUCI CQ, Alexis Hétu, chromium...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, srahim...@chromium.org, tmartino+tran...@chromium.org

              Leo Zhao voted Commit-Queue+2

              Commit-Queue+2
              Open in Gerrit

              Related details

              Attention set is empty
              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: I51462aec41eaf36fabd9304bcf12c5cd4f94866a
              Gerrit-Change-Number: 7648198
              Gerrit-PatchSet: 14
              Gerrit-Owner: Leo Zhao <leo...@google.com>
              Gerrit-Reviewer: Alexis Hétu <su...@chromium.org>
              Gerrit-Reviewer: Bruno Braga <bruno...@google.com>
              Gerrit-Reviewer: Leo Zhao <leo...@google.com>
              Gerrit-Reviewer: Tommy Martino <tmar...@chromium.org>
              Gerrit-Comment-Date: Fri, 20 Mar 2026 15:13:04 +0000
              Gerrit-HasComments: No
              Gerrit-Has-Labels: Yes
              satisfied_requirement
              open
              diffy

              Tommy Martino (Gerrit)

              unread,
              10:11 AM (2 hours ago) 10:11 AM
              to Leo Zhao, Bruno Braga, Chromium LUCI CQ, Alexis Hétu, chromium...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, srahim...@chromium.org, tmartino+tran...@chromium.org
              Attention needed from Leo Zhao

              Tommy Martino voted and added 2 comments

              Votes added by Tommy Martino

              Code-Review+1

              2 comments

              File ios/chrome/browser/settings/ui_bundled/autofill/autofill_add_address_manually_egtest.mm
              Line 122, Patchset 17 (Latest): config.features_disabled.push_back(
              Tommy Martino . unresolved

              In general, this is not a great way to get tests to pass:

              1. If the tests are failing because your feature breaks some behavior in the app (i.e., if we can no longer add address manually) then obviously we want to know that ASAP, and this change masks those failures.

              2. If the app is fine and only the tests need to be updated, then we'll still have a ton of extra work to do when we come back to clean up the feature flag.

              Since we have pretty high confidence we want to eventually launch Autofill AI, we would be better off force-*enabling* the feature and updating the test to reflect the desired final behavior. (In some cases we'll even create tests for both states, enabled and disabled, but I don't think we need to go that far in this case.)

              I'm OK with it if we need to land this as-is to get other work unblocked, and then correct the tests in a follow-up. But let's try not to leave this for the cleanup phase, either.

              File ios/chrome/browser/settings/ui_bundled/autofill/autofill_profile_settings_egtest.mm
              Line 155, Patchset 17 (Latest): config.features_disabled.push_back(
              Tommy Martino . unresolved

              Same here

              Open in Gerrit

              Related details

              Attention is currently required from:
              • Leo Zhao
              Submit Requirements:
                • requirement satisfiedCode-Coverage
                • requirement 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: I51462aec41eaf36fabd9304bcf12c5cd4f94866a
                Gerrit-Change-Number: 7648198
                Gerrit-PatchSet: 17
                Gerrit-Owner: Leo Zhao <leo...@google.com>
                Gerrit-Reviewer: Alexis Hétu <su...@chromium.org>
                Gerrit-Reviewer: Bruno Braga <bruno...@google.com>
                Gerrit-Reviewer: Leo Zhao <leo...@google.com>
                Gerrit-Reviewer: Tommy Martino <tmar...@chromium.org>
                Gerrit-Attention: Leo Zhao <leo...@google.com>
                Gerrit-Comment-Date: Mon, 23 Mar 2026 14:11:40 +0000
                Gerrit-HasComments: Yes
                Gerrit-Has-Labels: Yes
                satisfied_requirement
                unsatisfied_requirement
                open
                diffy

                Leo Zhao (Gerrit)

                unread,
                10:17 AM (2 hours ago) 10:17 AM
                to Tommy Martino, Bruno Braga, Chromium LUCI CQ, Alexis Hétu, chromium...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, srahim...@chromium.org, tmartino+tran...@chromium.org

                Leo Zhao voted Commit-Queue+2

                Commit-Queue+2
                Open in Gerrit

                Related details

                Attention set is empty
                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: I51462aec41eaf36fabd9304bcf12c5cd4f94866a
                  Gerrit-Change-Number: 7648198
                  Gerrit-PatchSet: 17
                  Gerrit-Owner: Leo Zhao <leo...@google.com>
                  Gerrit-Reviewer: Alexis Hétu <su...@chromium.org>
                  Gerrit-Reviewer: Bruno Braga <bruno...@google.com>
                  Gerrit-Reviewer: Leo Zhao <leo...@google.com>
                  Gerrit-Reviewer: Tommy Martino <tmar...@chromium.org>
                  Gerrit-Comment-Date: Mon, 23 Mar 2026 14:17:01 +0000
                  Gerrit-HasComments: No
                  Gerrit-Has-Labels: Yes
                  satisfied_requirement
                  open
                  diffy

                  Leo Zhao (Gerrit)

                  unread,
                  10:17 AM (1 hour ago) 10:17 AM
                  to Tommy Martino, Bruno Braga, Chromium LUCI CQ, Alexis Hétu, chromium...@chromium.org, ios-revie...@chromium.org, ios-r...@chromium.org, marq+...@chromium.org, srahim...@chromium.org, tmartino+tran...@chromium.org

                  Leo Zhao added 2 comments

                  File ios/chrome/browser/settings/ui_bundled/autofill/autofill_add_address_manually_egtest.mm
                  Line 122, Patchset 17 (Latest): config.features_disabled.push_back(
                  Tommy Martino . resolved

                  In general, this is not a great way to get tests to pass:

                  1. If the tests are failing because your feature breaks some behavior in the app (i.e., if we can no longer add address manually) then obviously we want to know that ASAP, and this change masks those failures.

                  2. If the app is fine and only the tests need to be updated, then we'll still have a ton of extra work to do when we come back to clean up the feature flag.

                  Since we have pretty high confidence we want to eventually launch Autofill AI, we would be better off force-*enabling* the feature and updating the test to reflect the desired final behavior. (In some cases we'll even create tests for both states, enabled and disabled, but I don't think we need to go that far in this case.)

                  I'm OK with it if we need to land this as-is to get other work unblocked, and then correct the tests in a follow-up. But let's try not to leave this for the cleanup phase, either.

                  Leo Zhao

                  I will create another CL to fix the tests.

                  File ios/chrome/browser/settings/ui_bundled/autofill/autofill_profile_settings_egtest.mm
                  Line 155, Patchset 17 (Latest): config.features_disabled.push_back(
                  Tommy Martino . resolved

                  Same here

                  Leo Zhao

                  I will create another CL to fix the tests.

                  Gerrit-Comment-Date: Mon, 23 Mar 2026 14:16:58 +0000
                  satisfied_requirement
                  open
                  diffy
                  Reply all
                  Reply to author
                  Forward
                  0 new messages