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_NETWORK_INTERFACES_WIN_H_ | 5 #ifndef NET_BASE_NETWORK_INTERFACES_WIN_H_ |
6 #define NET_BASE_NETWORK_INTERFACES_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 network_interfaces_win.cc to tests. | 9 // of network_interfaces_win.cc to tests. |
10 | 10 |
(...skipping 66 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
77 | 77 |
78 struct WlanApiDeleter { | 78 struct WlanApiDeleter { |
79 inline void operator()(void* ptr) const { | 79 inline void operator()(void* ptr) const { |
80 WlanApi::GetInstance().free_memory_func(ptr); | 80 WlanApi::GetInstance().free_memory_func(ptr); |
81 } | 81 } |
82 }; | 82 }; |
83 | 83 |
84 NET_EXPORT bool GetNetworkListImpl( | 84 NET_EXPORT bool GetNetworkListImpl( |
85 NetworkInterfaceList* networks, | 85 NetworkInterfaceList* networks, |
86 int policy, | 86 int policy, |
87 bool is_xp, | |
88 const IP_ADAPTER_ADDRESSES* ip_adapter_addresses); | 87 const IP_ADAPTER_ADDRESSES* ip_adapter_addresses); |
89 | 88 |
90 } // namespace internal | 89 } // namespace internal |
91 | 90 |
92 } // namespace net | 91 } // namespace net |
93 | 92 |
94 #endif // NET_BASE_NETWORK_INTERFACES_WIN_H_ | 93 #endif // NET_BASE_NETWORK_INTERFACES_WIN_H_ |
OLD | NEW |