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

Unified Diff: net/android/network_change_notifier_android.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
Index: net/android/network_change_notifier_android.cc
diff --git a/net/android/network_change_notifier_android.cc b/net/android/network_change_notifier_android.cc
index e093a4f5cbe3fcda006aef3d2f652a20a9c01679..8ded53ab2ec79b09c8ae15d5e96704483a47b12b 100644
--- a/net/android/network_change_notifier_android.cc
+++ b/net/android/network_change_notifier_android.cc
@@ -195,6 +195,10 @@ NetworkChangeNotifierAndroid::GetCurrentDefaultNetwork() const {
return delegate_->GetCurrentDefaultNetwork();
}
+bool NetworkChangeNotifierAndroid::GetCurrentNetworkCaptivePortal() const {
+ return delegate_->GetCurrentNetworkCaptivePortal();
+}
+
void NetworkChangeNotifierAndroid::OnConnectionTypeChanged() {
DnsConfigServiceThread::NotifyNetworkChangeNotifierObservers();
}

Powered by Google App Engine
This is Rietveld 408576698