commit | 2ec2b4d16993605a9f46dd567fa8cfcf03612f86 | [log] [tgz] |
---|---|---|
author | Michael Martis <[email protected]> | Wed Dec 01 01:57:37 2021 |
committer | Chromium LUCI CQ <[email protected]> | Wed Dec 01 01:57:37 2021 |
tree | a7535aa8c6a3e37380993d227b5fccd3d27b850a | |
parent | 4773e717fe2f7af54c99230f62195efa54813fa6 [diff] |
[Snooping protection] Introduced HPS notify controller. Snooping protection is now actively managing its preferences. Hence, this CL moves its backend logic into a controller class that pushes messages to its view. This has the added benefit of creating a per-session (v.s. per display) location where future initialization etc. logic can live. The new unit test is actually a migration of the old view unit test (since the controller is now responsible for most of the view's old behavior). I've not added in new view tests, since the view now only listens for colour and visibility changes. I can add in some tests for that minor logic if you feel strongly. Bug: chromium:1241704 Change-Id: Ieafdb1cf63c2e5437f2071b6cc7cb175de807173 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/3277223 Commit-Queue: Michael Martis <[email protected]> Reviewed-by: James Cook <[email protected]> Reviewed-by: Toni Barzic <[email protected]> Cr-Commit-Position: refs/heads/main@{#946819}
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.