tree: e77c0f0c7ae6779932399c49acdf54e88be05777 [path history] [tgz]
  1. DEPS
  2. DIR_METADATA
  3. direct_sockets_open_browsertest.cc
  4. direct_sockets_service_impl.cc
  5. direct_sockets_service_impl.h
  6. direct_sockets_tcp_browsertest.cc
  7. direct_sockets_test_utils.cc
  8. direct_sockets_test_utils.h
  9. direct_sockets_udp_browsertest.cc
  10. OWNERS
  11. 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.