Chromium Code Reviews| Index: net/base/net_util_linux.h |
| diff --git a/net/base/net_util_linux.h b/net/base/net_util_linux.h |
| index 340c3802eea080878a82db44a6b989a6c329971b..3937716834eb64006ec18443dc072dc1d7e04824 100644 |
| --- a/net/base/net_util_linux.h |
| +++ b/net/base/net_util_linux.h |
| @@ -8,6 +8,8 @@ |
| // This file is only used to expose some of the internals |
| // of net_util_linux.cc to tests. |
| +#include <string> |
|
pauljensen
2015/01/27 20:25:17
unused?
derekjchow1
2015/01/27 21:50:32
Done.
|
| + |
| #include "base/containers/hash_tables.h" |
| #include "net/base/address_tracker_linux.h" |
| #include "net/base/net_util.h" |
| @@ -15,8 +17,7 @@ |
| namespace net { |
| namespace internal { |
| -typedef char* (*GetInterfaceNameFunction)(unsigned int interface_index, |
| - char* ifname); |
| +typedef char* (*GetInterfaceNameFunction)(int interface_index, char* ifname); |
| NET_EXPORT bool GetNetworkListImpl( |
| NetworkInterfaceList* networks, |