Index: net/base/network_change_notifier.h |
diff --git a/net/base/network_change_notifier.h b/net/base/network_change_notifier.h |
index 27a798d04d1fcf6d2714904324d31e26d18059bd..742dbb288dc5c790e5757dde3a1f82822ff9c51c 100644 |
--- a/net/base/network_change_notifier.h |
+++ b/net/base/network_change_notifier.h |
@@ -407,6 +407,10 @@ class NET_EXPORT NetworkChangeNotifier { |
// NetworkChangeNotifier is created. |
static void SetTestNotificationsOnly(bool test_only); |
+ // Parses |type| and return the equivalent ConnectionType. |
RyanSturm
2016/10/12 21:33:34
s/type/connection_type/
tbansal1
2016/10/12 22:04:01
Obsolete.
|
+ static ConnectionType StringToConnectionType( |
+ const std::string& connection_type); |
+ |
// Return a string equivalent to |type|. |
static const char* ConnectionTypeToString(ConnectionType type); |