Use the provided connection type to determine if online.
commit8c2a34bdbf5e275955bdf8379cd45de11933f102
authorjkarlin@chromium.org <jkarlin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 10 Jun 2014 16:27:27 +0000 (10 16:27 +0000)
committerjkarlin@chromium.org <jkarlin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98>
Tue, 10 Jun 2014 16:27:27 +0000 (10 16:27 +0000)
tree875c07a84694dd2555800db37ad4ed1d5bffa2dc
parent3e4de273e4c0d8c33b2537c5059c621ab807a85d
Use the provided connection type to determine if online.

Calling IsOffline() could race and return an answer for a different type.

BUG=381282

Review URL: https://codereview.chromium.org/317933002

git-svn-id: svn://svn.chromium.org/chrome/trunk/src@276050 0039d316-1c4b-4281-b951-d872f2087c98
content/browser/net/browser_online_state_observer.cc
content/browser/renderer_host/render_view_host_impl.cc
content/common/view_messages.h
content/renderer/render_thread_impl.cc
content/renderer/render_thread_impl.h