tree: 10d3b0200c1454cb9dc04acc344ccaccc7c0805e [path history] [tgz]
  1. android/
  2. java_templates/
  3. BUILD.gn
  4. DEPS
  5. DIR_METADATA
  6. features.cc
  7. features.h
  8. OWNERS
  9. README.md
  10. sensitive_content_client.h
  11. sensitive_content_manager.cc
  12. sensitive_content_manager.h
  13. sensitive_content_manager_unittest.cc
components/sensitive_content/README.md

The sensitive content component is responsible for detecting form content that should be marked as “sensitive” on Android V+ (e.g., payment information, login information). It is used by both Chrome and WebView on Android.

If a view is marked as sensitive, and the API level is at least 35, the OS will redact the view during screen sharing, screen recording, and similar actions.

The SensitiveContentClient is used for dependency injection from the embedder. The client communicates with the embedder, in order to mark/unmark the content as being sensitive.

The SensitiveContentManager is owned by the client. It contains platform-independent logic and tracks whether sensitive fields are present or not.