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

Unified Diff: net/android/network_change_notifier_android.h

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.h
diff --git a/net/android/network_change_notifier_android.h b/net/android/network_change_notifier_android.h
index 41366b96dc8931d78fce3d003088d1fcdc527a75..41768dc12d0c27161913bebeb45a59f057a271bc 100644
--- a/net/android/network_change_notifier_android.h
+++ b/net/android/network_change_notifier_android.h
@@ -60,6 +60,7 @@ class NET_EXPORT_PRIVATE NetworkChangeNotifierAndroid
ConnectionType GetCurrentNetworkConnectionType(
NetworkHandle network) const override;
NetworkHandle GetCurrentDefaultNetwork() const override;
+ bool GetCurrentNetworkCaptivePortal() const override;
// NetworkChangeNotifierDelegateAndroid::Observer:
void OnConnectionTypeChanged() override;

Powered by Google App Engine
This is Rietveld 408576698