tree: f853420186e91d5bb8b3a2a977da8c945ff0b132 [path history] [tgz]
  1. direct_sockets_browsertest.cc
  2. direct_sockets_service_impl.cc
  3. direct_sockets_service_impl.h
  4. direct_sockets_unittest.cc
  5. OWNERS
  6. README.md
content/browser/direct_sockets/README.md

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.