OLD | NEW |
1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. | 1 // Copyright (c) 2014 The Chromium Authors. All rights reserved. |
2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
4 | 4 |
5 #include "net/base/net_util_mac.h" | 5 #include "net/base/net_util_mac.h" |
6 | 6 |
7 #include <ifaddrs.h> | 7 #include <ifaddrs.h> |
8 #include <net/if.h> | 8 #include <net/if.h> |
9 #include <netinet/in.h> | 9 #include <netinet/in.h> |
10 #include <set> | 10 #include <set> |
(...skipping 225 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
236 #if !defined(OS_IOS) | 236 #if !defined(OS_IOS) |
237 ip_attributes_getter.reset(new IPAttributesGetterMacImpl()); | 237 ip_attributes_getter.reset(new IPAttributesGetterMacImpl()); |
238 #endif | 238 #endif |
239 | 239 |
240 bool result = internal::GetNetworkListImpl(networks, policy, interfaces, | 240 bool result = internal::GetNetworkListImpl(networks, policy, interfaces, |
241 ip_attributes_getter.get()); | 241 ip_attributes_getter.get()); |
242 freeifaddrs(interfaces); | 242 freeifaddrs(interfaces); |
243 return result; | 243 return result; |
244 } | 244 } |
245 | 245 |
| 246 std::string GetWifiSSID() { |
| 247 NOTIMPLEMENTED(); |
| 248 return ""; |
| 249 } |
| 250 |
246 } // namespace net | 251 } // namespace net |
OLD | NEW |