autofill: Wrap all fields in test::FieldDescription in std::optional [chromium/src : main]

1 view
Skip to first unread message

Norge Vizcay (Gerrit)

unread,
Jun 12, 2026, 5:38:55 AMJun 12
to Tamino Bauknecht, Daniel Cheng, Jihad Hanna, Chromium LUCI CQ, chromium...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, blink-...@chromium.org, jshin...@chromium.org, browser-comp...@chromium.org
Attention needed from Jihad Hanna and Tamino Bauknecht

Norge Vizcay voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Jihad Hanna
  • Tamino Bauknecht
Submit Requirements:
  • requirement satisfiedCode-Coverage
  • requirement 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: Ie53942732be6ca423f08a2c34e2cd7005cb516a4
Gerrit-Change-Number: 7912946
Gerrit-PatchSet: 10
Gerrit-Owner: Tamino Bauknecht <tam...@chromium.org>
Gerrit-Reviewer: Jihad Hanna <jihad...@google.com>
Gerrit-Reviewer: Norge Vizcay <viz...@google.com>
Gerrit-Reviewer: Tamino Bauknecht <tam...@chromium.org>
Gerrit-CC: Daniel Cheng <dch...@chromium.org>
Gerrit-Attention: Tamino Bauknecht <tam...@chromium.org>
Gerrit-Attention: Jihad Hanna <jihad...@google.com>
Gerrit-Comment-Date: Fri, 12 Jun 2026 09:38:32 +0000
Gerrit-HasComments: No
Gerrit-Has-Labels: Yes
satisfied_requirement
unsatisfied_requirement
open
diffy

Jihad Hanna (Gerrit)

unread,
Jun 12, 2026, 7:13:40 PMJun 12
to Tamino Bauknecht, Norge Vizcay, Daniel Cheng, Chromium LUCI CQ, chromium...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, blink-...@chromium.org, jshin...@chromium.org, browser-comp...@chromium.org
Attention needed from Tamino Bauknecht

Jihad Hanna voted Code-Review+1

Code-Review+1
Open in Gerrit

Related details

Attention is currently required from:
  • Tamino Bauknecht
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: Ie53942732be6ca423f08a2c34e2cd7005cb516a4
    Gerrit-Change-Number: 7912946
    Gerrit-PatchSet: 12
    Gerrit-Owner: Tamino Bauknecht <tam...@chromium.org>
    Gerrit-Reviewer: Jihad Hanna <jihad...@google.com>
    Gerrit-Reviewer: Norge Vizcay <viz...@google.com>
    Gerrit-Reviewer: Tamino Bauknecht <tam...@chromium.org>
    Gerrit-CC: Daniel Cheng <dch...@chromium.org>
    Gerrit-Attention: Tamino Bauknecht <tam...@chromium.org>
    Gerrit-Comment-Date: Fri, 12 Jun 2026 23:13:21 +0000
    Gerrit-HasComments: No
    Gerrit-Has-Labels: Yes
    satisfied_requirement
    open
    diffy

    Chromium LUCI CQ (Gerrit)

    unread,
    Jun 15, 2026, 5:19:12 AM (13 days ago) Jun 15
    to Tamino Bauknecht, Jihad Hanna, Norge Vizcay, Daniel Cheng, chromium...@chromium.org, blink-re...@chromium.org, blink-revi...@chromium.org, blink-...@chromium.org, jshin...@chromium.org, browser-comp...@chromium.org

    Chromium LUCI CQ submitted the change

    Change information

    Commit message:
    autofill: Wrap all fields in test::FieldDescription in std::optional

    This allows other functions to reuse this type and check if a test
    explicitly set the field or if it simply wanted to use the default
    value.

    Specifically, this will be used by crrev.com/c/7912947 that creates a
    custom matcher that can directly match a `FormFieldData` against a
    `test::FieldDescription` without the need of creating another
    `FormFieldData` first.
    Bug: 41483772
    Change-Id: Ie53942732be6ca423f08a2c34e2cd7005cb516a4
    Reviewed-by: Jihad Hanna <jihad...@google.com>
    Commit-Queue: Tamino Bauknecht <tam...@chromium.org>
    Reviewed-by: Norge Vizcay <viz...@google.com>
    Cr-Commit-Position: refs/heads/main@{#1646649}
    Files:
    • M chrome/browser/autofill/actor/actor_form_filling_service_unittest.cc
    • M components/autofill/core/browser/crowdsourcing/autofill_crowdsourcing_encoding_unittest.cc
    • M components/autofill/core/browser/crowdsourcing/determine_possible_field_types_unittest.cc
    • M components/autofill/core/browser/filling/form_filler_unittest.cc
    • M components/autofill/core/browser/metrics/prediction_quality_metrics_unittest.cc
    • M components/autofill/core/common/test_utils/autofill_form_test_utils.h
    Change size: M
    Delta: 6 files changed, 75 insertions(+), 78 deletions(-)
    Branch: refs/heads/main
    Submit Requirements:
    • requirement satisfiedCode-Review: +1 by Jihad Hanna, +1 by Norge Vizcay
    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: Ie53942732be6ca423f08a2c34e2cd7005cb516a4
    Gerrit-Change-Number: 7912946
    Gerrit-PatchSet: 13
    Gerrit-Owner: Tamino Bauknecht <tam...@chromium.org>
    Gerrit-Reviewer: Chromium LUCI CQ <chromiu...@luci-project-accounts.iam.gserviceaccount.com>
    Gerrit-Reviewer: Jihad Hanna <jihad...@google.com>
    Gerrit-Reviewer: Norge Vizcay <viz...@google.com>
    Gerrit-Reviewer: Tamino Bauknecht <tam...@chromium.org>
    open
    diffy
    satisfied_requirement
    Reply all
    Reply to author
    Forward
    0 new messages