summaryrefslogtreecommitdiffstats
path: root/content/renderer/net_info_helper.h
diff options
context:
space:
mode:
Diffstat (limited to 'content/renderer/net_info_helper.h')
-rw-r--r--content/renderer/net_info_helper.h18
1 files changed, 18 insertions, 0 deletions
diff --git a/content/renderer/net_info_helper.h b/content/renderer/net_info_helper.h
new file mode 100644
index 0000000..a9e19a0
--- /dev/null
+++ b/content/renderer/net_info_helper.h
@@ -0,0 +1,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_