Re-subimission of https://codereview.chromium.org/1041213003/
[chromium-blink-merge.git] / content / renderer / net_info_helper.h
blobcc876cae138e2b004874310bc29ca93166668379
1 // Copyright 2014 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
5 #ifndef CONTENT_RENDERER_NET_INFO_HELPER_H_
6 #define CONTENT_RENDERER_NET_INFO_HELPER_H_
8 #include "net/base/network_change_notifier.h"
9 #include "third_party/WebKit/public/platform/WebConnectionType.h"
11 namespace content {
13 blink::WebConnectionType NetConnectionTypeToWebConnectionType(
14 net::NetworkChangeNotifier::ConnectionType type);
16 } // namespace content
18 #endif // CONTENT_RENDERER_NET_INFO_HELPER_H_