diff options
author | jkarlin@chromium.org <jkarlin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-04 14:08:40 +0000 |
---|---|---|
committer | jkarlin@chromium.org <jkarlin@chromium.org@0039d316-1c4b-4281-b951-d872f2087c98> | 2014-06-04 14:08:40 +0000 |
commit | 078cab2e42fdb14b877917b33dad3290f493a24d (patch) | |
tree | 5d30b318baf3745e3091ba47f80c2e906c8548ad /content | |
parent | edf38edb6712d24baf6df6230dd4b6990c4ddc03 (diff) | |
download | chromium_src-078cab2e42fdb14b877917b33dad3290f493a24d.zip chromium_src-078cab2e42fdb14b877917b33dad3290f493a24d.tar.gz chromium_src-078cab2e42fdb14b877917b33dad3290f493a24d.tar.bz2 |
Adds bluetooth connection type to NetworkChangeNotifier.
This is for compliance with NetInfov3 (http://w3c.github.io/netinfo/).
BUG=378785
Review URL: https://codereview.chromium.org/307943004
git-svn-id: svn://svn.chromium.org/chrome/trunk/src@274817 0039d316-1c4b-4281-b951-d872f2087c98
Diffstat (limited to 'content')
-rw-r--r-- | content/renderer/net_info_helper.cc | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/content/renderer/net_info_helper.cc b/content/renderer/net_info_helper.cc index 8e0d651..a833368 100644 --- a/content/renderer/net_info_helper.cc +++ b/content/renderer/net_info_helper.cc @@ -22,6 +22,8 @@ NetConnectionTypeToWebConnectionType( case net::NetworkChangeNotifier::CONNECTION_3G: case net::NetworkChangeNotifier::CONNECTION_4G: return blink::ConnectionTypeCellular; + case net::NetworkChangeNotifier::CONNECTION_BLUETOOTH: + return blink::ConnectionTypeBluetooth; } NOTREACHED(); |