commit | 5d401bb500b4cb9ba1f724ee022f43307db5b1cc | [log] [tgz] |
---|---|---|
author | Christoph Schwering <schwering@google.com> | Fri Dec 01 16:39:08 2023 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Dec 01 16:39:08 2023 |
tree | 54dcb009f87a1adb4339c3a31e857c2699961bde | |
parent | ea9245e68c72959b5e0f661c167e2c7b448dcc7a [diff] |
[Autofill] Add and use FormDataImporterTestApi This CL introduces FormDataImporterTestApi to make the non-private API of FormDataImporter more accessible and to make it clear when tests are testing the contract or internals of FormDataImporter. A followup step to reduce test complexity could be to inject AddressProfileSaveManager, CreditCardSaveManager, IbanSaveManager, VirtualCardEnrollmentManager, rather than creating them in in FormDataImporter(). Currently tests first create a standard FormDataImporter and then tweak the private variables. Bug: 1119526 Change-Id: I5d4fc9ad95fb172a27728a50b5f79899ca005194 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5038695 Reviewed-by: Dominic Battre <battre@chromium.org> Reviewed-by: Jan Keitel <jkeitel@google.com> Reviewed-by: Tommy Martino <tmartino@chromium.org> Reviewed-by: Emily Shack <emshack@chromium.org> Code-Coverage: findit-for-me@appspot.gserviceaccount.com <findit-for-me@appspot.gserviceaccount.com> Commit-Queue: Christoph Schwering <schwering@google.com> Cr-Commit-Position: refs/heads/main@{#1231972}
Chromium is an open-source browser project that aims to build a safer, faster, and more stable way for all users to experience the web.
The project's web site is https://www.chromium.org.
To check out the source code locally, don't use git clone
! Instead, follow the instructions on how to get the code.
Documentation in the source is rooted in docs/README.md.
Learn how to Get Around the Chromium Source Code Directory Structure .
For historical reasons, there are some small top level directories. Now the guidance is that new top level directories are for product (e.g. Chrome, Android WebView, Ash). Even if these products have multiple executables, the code should be in subdirectories of the product.
If you found a bug, please file it at https://crbug.com/new.