Chromium Code Reviews| 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 #ifndef NET_BASE_NET_UTIL_WIN_H_ | 5 #ifndef NET_BASE_NETWORK_INTERFACES_WIN_H_ |
| 6 #define NET_BASE_NET_UTIL_WIN_H_ | 6 #define NET_BASE_NETWORK_INTERFACES_WIN_H_ |
| 7 | 7 |
| 8 // This file is only used to expose some of the internals | 8 // This file is only used to expose some of the internals |
| 9 // of net_util_win.cc to tests. | 9 // of network_interfaces_win.cc to tests. |
| 10 | 10 |
| 11 #include <iphlpapi.h> | 11 #include <iphlpapi.h> |
| 12 #include <wlanapi.h> | 12 #include <wlanapi.h> |
| 13 | 13 |
| 14 #include "base/win/scoped_handle.h" | 14 #include "base/win/scoped_handle.h" |
| 15 #include "net/base/net_export.h" | 15 #include "net/base/net_export.h" |
| 16 #include "net/base/net_util.h" | 16 #include "net/base/net_util.h" |
|
mmenke
2015/06/03 15:12:38
Again, this should presumably be network_interface
| |
| 17 | 17 |
| 18 namespace net { | 18 namespace net { |
| 19 namespace internal { | 19 namespace internal { |
| 20 | 20 |
| 21 struct NET_EXPORT WlanApi { | 21 struct NET_EXPORT WlanApi { |
| 22 typedef DWORD (WINAPI *WlanOpenHandleFunc)( | 22 typedef DWORD (WINAPI *WlanOpenHandleFunc)( |
| 23 DWORD, VOID*, DWORD*, HANDLE*); | 23 DWORD, VOID*, DWORD*, HANDLE*); |
| 24 typedef DWORD (WINAPI *WlanEnumInterfacesFunc)( | 24 typedef DWORD (WINAPI *WlanEnumInterfacesFunc)( |
| 25 HANDLE, VOID*, WLAN_INTERFACE_INFO_LIST**); | 25 HANDLE, VOID*, WLAN_INTERFACE_INFO_LIST**); |
| 26 typedef DWORD (WINAPI *WlanQueryInterfaceFunc)( | 26 typedef DWORD (WINAPI *WlanQueryInterfaceFunc)( |
| (...skipping 56 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... | |
| 83 NET_EXPORT bool GetNetworkListImpl( | 83 NET_EXPORT bool GetNetworkListImpl( |
| 84 NetworkInterfaceList* networks, | 84 NetworkInterfaceList* networks, |
| 85 int policy, | 85 int policy, |
| 86 bool is_xp, | 86 bool is_xp, |
| 87 const IP_ADAPTER_ADDRESSES* ip_adapter_addresses); | 87 const IP_ADAPTER_ADDRESSES* ip_adapter_addresses); |
| 88 | 88 |
| 89 } // namespace internal | 89 } // namespace internal |
| 90 | 90 |
| 91 } // namespace net | 91 } // namespace net |
| 92 | 92 |
| 93 #endif // NET_BASE_NET_UTIL_WIN_H_ | 93 #endif // NET_BASE_NETWORK_INTERFACES_WIN_H_ |
| OLD | NEW |