Set the view type for mime handler guests.
Mime handler guests currently do not set their view type. Thus, their foreground pages do not count as foreground pages for the purpose of deciding whether to keep their background pages alive, resulting in the background page being shut down while the mime handler remains open. Set the view type to VIEW_TYPE_EXTENSION_GUEST when creating mime handler guests to ensure mime handlers keep their background pages alive while open. Bug: 819761 Change-Id: Ibc64c93bbb33022375cf91b45785f543a53ca71c Reviewed-on: https://chromium-review.googlesource.com/1023518 Commit-Queue: Sam McNally <sammc@chromium.org> Reviewed-by:Ehsan Karamad <ekaramad@chromium.org> Cr-Commit-Position: refs/heads/master@{#553893}
Showing
Please register or sign in to comment