commit | 3b77929e00058466651ec054a9a58bbe681b1313 | [log] [tgz] |
---|---|---|
author | Joemer Ramos <joemerramos@chromium.org> | Fri Oct 14 00:37:36 2022 |
committer | Chromium LUCI CQ <chromium-scoped@luci-project-accounts.iam.gserviceaccount.com> | Fri Oct 14 00:37:36 2022 |
tree | 08cd3e302fc4e0335bc7e7c23cf755cce9697254 | |
parent | af46662c992bd803635ebcfe9847574e631d854b [diff] |
[iOS] Change TailoredSecurityServiceInfobarDelegate constructor To make code simpler, we have decided to have the infobar delegate call methods that happen on an infobar interaction (primarily the main button being tapped) instead of the TabHelper. In order for the button to interact properly, we need to pass a WebState into the delegate when constructing so it can interact with the SafeBrowsingTabHelper and have access to the associated ChromeBrowserState. Additionally, unit tests were added to test the outputs of the overridden Accept() being called. Bug: 1357605 Change-Id: Ic01d4fa39d37a5a8dedda6763a10f1e67c7e747e Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3946782 Reviewed-by: Ali Juma <ajuma@chromium.org> Commit-Queue: Joemer Ramos <joemerramos@chromium.org> Reviewed-by: Chris Lu <thegreenfrog@chromium.org> Cr-Commit-Position: refs/heads/main@{#1059027}
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.