Chromium Code Reviews| Index: net/base/net_util.h |
| diff --git a/net/base/net_util.h b/net/base/net_util.h |
| index 9e9dbad4613914bf257bd274edb692c79e947ee3..2581b638b9dd69da14a6aa46aa731fe8b71f881a 100644 |
| --- a/net/base/net_util.h |
| +++ b/net/base/net_util.h |
| @@ -496,6 +496,13 @@ enum HostAddressSelectionPolicy { |
| NET_EXPORT bool GetNetworkList(NetworkInterfaceList* networks, |
| int policy); |
| +// Gets the current connection type based on |interfaces|. Returns |
| +// CONNECTION_NONE if there are no interfaces, CONNECTION_UNKNOWN if two |
| +// interfaces have different connection types or the connection type of all |
| +// interfaces if they have the same interface type. |
| +NET_EXPORT NetworkChangeNotifier::ConnectionType |
| +ConnectionTypeFromInterfaceList(const NetworkInterfaceList& interfaces); |
|
pauljensen
2015/01/15 15:05:10
Please move this to network_change_notifier.h as i
derekjchow1
2015/01/15 20:32:51
Done.
|
| + |
| // General category of the IEEE 802.11 (wifi) physical layer operating mode. |
| enum WifiPHYLayerProtocol { |
| // No wifi support or no associated AP. |