android: Fix visible ProcessedCrashCounts
NOTIFICATION_RENDERER_PROCESS_CLOSED is sent after all clients of RenderProcessHostImpl has been removed, so it is no longer possible to determine if the process was "visible" or not. Instead add a renderer_has_visible_clients and renderer_was_subframe to ChildProcessTerminationInfo instead and pass that up in the notification. Bug: 965599 Change-Id: I176dc838b5e142303c3acbc11e08b967dd585cc4 Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1622737 Commit-Queue: Bo <boliu@chromium.org> Reviewed-by:Robert Sesek <rsesek@chromium.org> Reviewed-by:
Alex Moshchuk <alexmos@chromium.org> Cr-Commit-Position: refs/heads/master@{#662243}
Showing
Please register or sign in to comment