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

Unified Diff: net/base/network_change_notifier_unittest.cc

Issue 2486393004: Expose API to detect when captive portal probe was blocked on Android (Closed)
Patch Set: pauljensen comments Created 4 years, 1 month 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
« net/base/network_change_notifier.h ('K') | « net/base/network_change_notifier.cc ('k') | no next file » | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: net/base/network_change_notifier_unittest.cc
diff --git a/net/base/network_change_notifier_unittest.cc b/net/base/network_change_notifier_unittest.cc
index 674260789a6986e1fae1627389a56b08d75feb2c..553d3095e11429e84bc4697de442c64506d74a17 100644
--- a/net/base/network_change_notifier_unittest.cc
+++ b/net/base/network_change_notifier_unittest.cc
@@ -123,4 +123,8 @@ TEST(NetworkChangeNotifierTest, IgnoreVMInterfaces) {
NetworkChangeNotifier::ConnectionTypeFromInterfaceList(list));
}
+TEST(NetworkChangeNotifierTest, CaptivePortal) {
+ EXPECT_FALSE(NetworkChangeNotifier::GetNetworkCaptivePortal());
+}
+
} // namespace net
« net/base/network_change_notifier.h ('K') | « net/base/network_change_notifier.cc ('k') | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698