Skip to content
Commit ddbbc0fa authored by Tal Pressman's avatar Tal Pressman Committed by Commit Bot
Browse files

[MBI] Recreate AgentSchedulingGroup when process changes.

Although the AgentSchedulingGroupHosts's RenderProcessHost remains
constant, the underlying process behind it might die and be restarted.
When that happens, we need to create a new AgentSchedulingGroup in the
new renderer process, and re-bind the mojo endpoints.
This is done by resetting the mojo endpoints when the process exits, and
having the various public methods rebind them when necessary.

Bug: 1111231
Change-Id: I48169dad231b5912078ff59f7bf6a370017d2031
Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/2397057


Commit-Queue: Tal Pressman <talp@chromium.org>
Reviewed-by: default avatarMinoru Chikamune <chikamune@chromium.org>
Reviewed-by: default avatarAlex Moshchuk <alexmos@chromium.org>
Reviewed-by: default avatarKentaro Hara <haraken@chromium.org>
Reviewed-by: default avatarKouhei Ueno <kouhei@chromium.org>
Cr-Commit-Position: refs/heads/master@{#811082}
parent b4b5b57c
Loading
Loading
Loading
Loading
0% Loading or .
You are about to add 0 people to the discussion. Proceed with caution.
Please to comment