[email protected] | d7ff5fb | 2014-05-29 19:50:25 | [diff] [blame] | 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. |
| 4 | |
tfarina | bccc34c7 | 2015-02-27 21:32:15 | [diff] [blame] | 5 | #ifndef CONTENT_RENDERER_NET_INFO_HELPER_H_ |
| 6 | #define CONTENT_RENDERER_NET_INFO_HELPER_H_ |
[email protected] | d7ff5fb | 2014-05-29 19:50:25 | [diff] [blame] | 7 | |
| 8 | #include "net/base/network_change_notifier.h" |
Blink Reformat | a30d423 | 2018-04-07 15:31:06 | [diff] [blame] | 9 | #include "third_party/blink/public/platform/web_connection_type.h" |
[email protected] | d7ff5fb | 2014-05-29 19:50:25 | [diff] [blame] | 10 | |
| 11 | namespace content { |
| 12 | |
| 13 | blink::WebConnectionType NetConnectionTypeToWebConnectionType( |
| 14 | net::NetworkChangeNotifier::ConnectionType type); |
| 15 | |
| 16 | } // namespace content |
| 17 | |
tfarina | bccc34c7 | 2015-02-27 21:32:15 | [diff] [blame] | 18 | #endif // CONTENT_RENDERER_NET_INFO_HELPER_H_ |