Fix safe browsing's IO thread URLLoaderFactory not handling crashes.
SafeBrowsingService::CreateURLLoaderFactoryForIO created a factory directly through NetworkService, which means that if the network process crashed the interface pointer wouldn't work anymore. Instead use SafeBrowsingService::GetURLLoaderFactory(), through CrossThreadSharedURLLoaderFactoryInfo, which correctly handles this case. Bug: 971274 Change-Id: Ia6915e1e7aa4121130ab34b30587827adb54e96f Reviewed-on: https://chromium-review.googlesource.com/c/chromium/src/+/1645456Reviewed-by:Varun Khaneja <vakh@chromium.org> Commit-Queue: John Abd-El-Malek <jam@chromium.org> Cr-Commit-Position: refs/heads/master@{#666363}
Showing
Please register or sign in to comment