Supervised User Central Hub (components/supervised_user)

Cross-platform core for Family Link supervision, Device Parental Controls, URL filtering, web approvals, and Kids Management API calls. Embedders inject platform UI and OS behavior through delegates.

Ecosystem Map (Directories & Spokes)

  • Shared Component Core (components/supervised_user/): README.md · SECURITY.md Keyed services, URL filtering, interstitials, ProtoFetcher, the Android content-filters bridge, and unit-test support.
  • Chrome Embedder (chrome/browser/supervised_user/): AGENTS.md · SECURITY.md Service factories, platform delegates, per-platform WebContentHandler implementations, navigation throttles, and extension approvals.
  • Chrome Renderer (chrome/renderer/supervised_user/): SECURITY.md Controller that forwards user actions from the blocking interstitial to the browser.
  • Chrome Test Support (chrome/test/supervised_user/): AGENTS.md SupervisionMixin, API mock and auth-state mixins, and Family live tests.
  • Desktop Extension Approval UI (chrome/browser/ui/supervised_user/, chrome/browser/ui/views/supervised_user/): README.md · SECURITY.md · views SECURITY.md Parent permission and blocked-install dialogs for extensions.
  • Family Link Internals Page (chrome/browser/ui/webui/family_link_user_internals/, chrome/browser/resources/family_link_user_internals/): SECURITY.md · resources SECURITY.md The chrome://family-link-user-internals debug page.
  • Android Java (chrome/android/java/src/org/chromium/chrome/browser/supervised_user/): SECURITY.md ChildAccountService.java, which lets native code re-authenticate a child account.
  • iOS Embedder (ios/chrome/browser/supervised_user/): AGENTS.md · SECURITY.md Service factories, IOSWebContentHandlerImpl, and the parent access bottom sheet.
  • WebView (android_webview/browser/supervised_user/): WebView throttle, blocking page, and URL classifier that reuse the shared interstitial resources.
  • ChromeOS Child Accounts (chrome/browser/ash/child_accounts/, chrome/browser/ui/webui/ash/parent_access/): Child user services, status reporting, family user metrics, and the Parent Access dialog that ChromeOS uses for local web approvals. See also apps/README.md and on_device_controls/README.md.
  • ChromeOS Service Provider (chromeos/ash/components/supervised_user/): SECURITY.md SupervisedUserServiceProvider, which gives ChromeOS code a user's SupervisedUserService without depending on chrome/browser/supervised_user/.

When to Read What

  • README.md: before adding a user journey or changing how the supervised user services interact.
  • SECURITY.md: before changing interstitials, approval flows, custodian data, network requests, or code that runs in the renderer.
  • SupervisedUserUrlFilteringService: before writing code that decides whether a URL loads for a supervised user.
  • AccessTokenConfig: before adding or changing a Kids Management API request.
  • WebContentHandler: before changing a platform's local approval flow.