blob: 8548c4e7c6d0fd58f6b2d91c92bdb6eca8d16161 [file] [log] [blame] [view]
Theo Cristea200d4cb72024-08-14 15:43:091The sensitive content component is responsible for detecting form content that
2should be marked as "sensitive" on Android V+ (e.g., payment information, login
3information). It is used by both Chrome and WebView on Android.
4
5If a view is marked as sensitive, and the API level is at least 35, the OS will
6redact the view during screen sharing, screen recording, and similar actions.
7
8The `SensitiveContentClient` is used for dependency injection from the embedder.
9The client communicates with the embedder, in order to mark/unmark the content
Theo Cristea6db093162024-09-25 09:45:1210as being sensitive.
Theo Cristea200d4cb72024-08-14 15:43:0911
12The `SensitiveContentManager` is owned by the client. It contains
13platform-independent logic and tracks whether sensitive fields are present or
14not.