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

#ifndef CONTENT_RENDERER_NET_INFO_HELPER_H_
#define CONTENT_RENDERER_NET_INFO_HELPER_H_

#include "net/base/network_change_notifier.h"
#include "third_party/blink/public/platform/web_connection_type.h"

namespace content {

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

}  // namespace content

#endif  // CONTENT_RENDERER_NET_INFO_HELPER_H_