| Index: net/base/network_change_notifier.h
|
| diff --git a/net/base/network_change_notifier.h b/net/base/network_change_notifier.h
|
| index a758cc3acf30c0400368d81280248e5971d0d8e7..66789794c0535c8456e74a016f9858d48aae8937 100644
|
| --- a/net/base/network_change_notifier.h
|
| +++ b/net/base/network_change_notifier.h
|
| @@ -538,6 +538,10 @@ class NET_EXPORT NetworkChangeNotifier {
|
| // observers.
|
| static void SetInitialDnsConfig(const DnsConfig& config);
|
|
|
| + // Infer connection type from |GetNetworkList|. If all network interfaces
|
| + // have the same type, return it, otherwise return CONNECTION_UNKNOWN.
|
| + static ConnectionType ConnectionTypeFromInterfaces();
|
| +
|
| private:
|
| friend class HostResolverImplDnsTest;
|
| friend class NetworkChangeNotifierAndroidTest;
|
|
|