Add initial NetworkAnnotationMonitor NetworkAnnotationMonitor will be used to determine which network annotations have incorrect policy mappings. It will report via UMA the hash_code of any annotations that were observed when they were expected to be disabled based on policy values. Internal doc: go/regmon-chromium This feature is set to disabled by default based on a new feature flag. Disabled annotations are currently hard-coded; policy checking logic to be added later. BUG: b:315844831 TEST: out/Default/unit_tests --gtest_filter='NetworkAnnotationMonitor*' TEST: out/Default/services_unittests --gtest_filter='NetworkService*' TEST: out/Default/browser_tests --gtest_filter='All/NetworkAnnotationMonitor*' Change-Id: I7543ba2b591b4d79923dfc73dd202181b64a0ec4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/5120283 Reviewed-by: Daniel Cheng <dcheng@chromium.org> Reviewed-by: Matt Menke <mmenke@chromium.org> Commit-Queue: Aiden Chiavatti <chiav@chromium.org> Reviewed-by: Lei Zhang <thestig@chromium.org> Cr-Commit-Position: refs/heads/main@{#1250975}
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.