Chromium Code Reviews| Index: net/base/network_change_notifier.cc |
| diff --git a/net/base/network_change_notifier.cc b/net/base/network_change_notifier.cc |
| index d451e075aa1e79289b5311ab4d03602e8f9d9a56..df9be931a630d5fe7efa438fd6fdc2cfa2448995 100644 |
| --- a/net/base/network_change_notifier.cc |
| +++ b/net/base/network_change_notifier.cc |
| @@ -526,6 +526,11 @@ NetworkChangeNotifier* NetworkChangeNotifier::Create() { |
| #endif |
| } |
| +bool NetworkChangeNotifier::GetCurrentWifiAccessPointInfo( |
| + NetworkChangeNotifier::WifiAccessPointInfo *info) { |
|
Ilya Sherman
2014/07/11 01:32:17
nit: Swap space and asterisk.
zqiu1
2014/07/14 17:21:58
Done.
|
| + return false; |
| +} |
| + |
| // static |
| NetworkChangeNotifier::ConnectionType |
| NetworkChangeNotifier::GetConnectionType() { |
| @@ -535,6 +540,13 @@ NetworkChangeNotifier::GetConnectionType() { |
| } |
| // static |
| +bool NetworkChangeNotifier::GetWifiAccessPointInfo(WifiAccessPointInfo *info) { |
|
Ilya Sherman
2014/07/11 01:32:18
nit: Swap space and asterisk.
zqiu1
2014/07/14 17:21:58
Done.
|
| + return g_network_change_notifier ? |
| + g_network_change_notifier->GetCurrentWifiAccessPointInfo(info) : |
| + false; |
| +} |
| + |
| +// static |
| void NetworkChangeNotifier::GetDnsConfig(DnsConfig* config) { |
| if (!g_network_change_notifier) { |
| *config = DnsConfig(); |