summaryrefslogtreecommitdiffstats
path: root/content/renderer/net_info_helper.h
blob: a9e19a03cfd79501e0dbb9b847b1f0243c2c8f70 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
// Copyright 2014 The Chromium Authors. All rights reserved.
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef CONTENT_PUBLIC_RENDERER_NET_INFO_HELPER_H_
#define CONTENT_PUBLIC_RENDERER_NET_INFO_HELPER_H_

#include "net/base/network_change_notifier.h"
#include "third_party/WebKit/public/platform/WebConnectionType.h"

namespace content {

blink::WebConnectionType NetConnectionTypeToWebConnectionType(
    net::NetworkChangeNotifier::ConnectionType type);

}  // namespace content

#endif  // CONTENT_PUBLIC_RENDERER_NET_INFO_HELPER_H_