Add IsOnline API to RenderThread and cache locally online status.
This CL adds caching of the online status in the RenderThread for each renderer process to make it available to query on demand. Without it, when navigation in a new process results in an error page, the NetErrorHelper object is initialized with incorrect state, leading to breakage of autoreload functionality when the browser is back online. Bug: 865914 Change-Id: I9eb388ddd4f06a80f48d5c4f9c774ac4b29f5377 Reviewed-on: https://chromium-review.googlesource.com/1237143Reviewed-by:Matt Menke <mmenke@chromium.org> Commit-Queue: Nasko Oskov <nasko@chromium.org> Cr-Commit-Position: refs/heads/master@{#593819}
Showing
Please register or sign in to comment