#include "net/base/network_interfaces.h"
#include <ostream>
#include <string>
#include <unordered_set>
#include "base/strings/utf_string_conversions.h"
#include "build/build_config.h"
#include "net/base/ip_endpoint.h"
#include "testing/gtest/include/gtest/gtest.h"
#if BUILDFLAG(IS_POSIX) && !BUILDFLAG(IS_ANDROID)
#include <net/if.h>
#elif BUILDFLAG(IS_WIN)
#include <objbase.h>
#include <windows.h>
#include <iphlpapi.h>
#include "base/strings/string_util.h"
#include "base/win/win_util.h"
#endif
namespace net {
namespace {
TEST(NetworkInterfacesTest, GetNetworkList) { … }
TEST(NetworkInterfacesTest, GetWifiSSID) { … }
TEST(NetworkInterfacesTest, GetHostName) { … }
}
}