Check for empty security info when sending security info to devtools
Check for empty security info when sending security info to devtools

Currently, some responses (notably, redirects) can come in to
WebURLLoader without any security info
attached. DeserializeSecurityInfo() does not treat empty strings as a
deserialization error, so in this case we end up trying to extract SSL
information from a connection status of 0. Instead, check for the
empty string upfront and just tell devtools that the security state is
unknown.

Hopefully, we will soon be attaching security info to redirect
responses (https://codereview.chromium.org/1275743005/).

BUG=519120
TBR=davidben@chromium.org

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

Cr-Commit-Position: 972c6d2dc6dd5efdad1377c0d224e03eb8f276f7@{#342794}

axinging/chromium-crosswalk,Pluto-tv/chromium-crosswalk,axinging/chromium-crosswalk,Pluto-tv/chromium-crosswalk,axinging/chromium-crosswalk,Chilledheart/chromium,axinging/chromium-crosswalk,Pluto-tv/chromium-crosswalk,Pluto-tv/chromium-crosswalk,Pluto-tv/chromium-crosswalk,Chilledheart/chromium,Pluto-tv/chromium-crosswalk,axinging/chromium-crosswalk,Chilledheart/chromium,axinging/chromium-crosswalk,Pluto-tv/chromium-crosswalk,axinging/chromium-crosswalk,axinging/chromium-crosswalk,Pluto-tv/chromium-crosswalk,axinging/chromium-crosswalk,Chilledheart/chromium,axinging/chromium-crosswalk,Pluto-tv/chromium-crosswalk,Chilledheart/chromium,axinging/chromium-crosswalk,Chilledheart/chromium,Chilledheart/chromium,Chilledheart/chromium,Chilledheart/chromium