
That's because all functions are called from browser process. For content/renderer/workers, IsOutOfProcessNetworkService() is used ([1]) to terminate workers if the network service crashes. However, if the crashed network service is in the browser process, then the workers are going to get terminated anyway, so introducing this condition doesn't actually help. Thus we can remove them. [1] https://chromium-review.googlesource.com/c/chromium/src/+/1264139 Bug: 1329834 Change-Id: Iaf3c9847b2231aef9e413481d6bdf53f7e9065ba Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/4547630 Auto-Submit: Yoichi Osato <yoichio@chromium.org> Reviewed-by: John Abd-El-Malek <jam@chromium.org> Owners-Override: John Abd-El-Malek <jam@chromium.org> Commit-Queue: John Abd-El-Malek <jam@chromium.org> Cr-Commit-Position: refs/heads/main@{#1150766}