
Bug: b/279549764 Change-Id: Iea6cd30d110d526db7bbc842bd1cbbeaff681199 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4507371 Commit-Queue: Andrew Rayskiy <greengrape@google.com> Reviewed-by: Simon Hangl <simonha@google.com> Cr-Commit-Position: refs/heads/main@{#1139547}
This directory implements permission and user consent checks for the browser side of socket opening for the Direct Sockets API.
Examples of the checks include
- user dialog, allowing user to enter destination address
- permissions policy
- rate limiting
- checking hostnames resolve to public addresses
- content security policy
When requests to establish TCP or UDP communication have passed the various checks, they are forwarded to the network service.