Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(1111)

Unified Diff: net/base/network_interfaces_unittest.cc

Issue 1984133003: Remove Windows Vista/XP specific code from net/base (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 7 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
« no previous file with comments | « no previous file | net/base/network_interfaces_win.h » ('j') | net/base/network_interfaces_win.cc » ('J')
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/network_interfaces_unittest.cc
diff --git a/net/base/network_interfaces_unittest.cc b/net/base/network_interfaces_unittest.cc
index 5690c3751878282393adf71501eb085f5082c085..e4556f85e059b4f5fcd2b31b53db2fd81e5de499 100644
--- a/net/base/network_interfaces_unittest.cc
+++ b/net/base/network_interfaces_unittest.cc
@@ -164,11 +164,8 @@ TEST(NetworkInterfacesTest, GetNetworkList) {
EXPECT_STREQ(base::UTF8ToWide(it->name).c_str(), name);
CoTaskMemFree(name);
continue;
- } else {
- EXPECT_LT(base::win::GetVersion(), base::win::VERSION_VISTA);
- EXPECT_LT(it->interface_index, 1u << 24u); // Must fit 0.x.x.x.
- EXPECT_NE(it->interface_index, 0u); // 0 means to use default.
}
+
if (it->type == NetworkChangeNotifier::CONNECTION_WIFI) {
EXPECT_NE(WIFI_PHY_LAYER_PROTOCOL_NONE, GetWifiPHYLayerProtocol());
}
« no previous file with comments | « no previous file | net/base/network_interfaces_win.h » ('j') | net/base/network_interfaces_win.cc » ('J')

Powered by Google App Engine
This is Rietveld 408576698