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

Unified Diff: net/android/network_change_notifier_delegate_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_delegate_android.h
diff --git a/net/android/network_change_notifier_delegate_android.h b/net/android/network_change_notifier_delegate_android.h
index e80ebe90d1db191b654e44c79504208c2d65d0a6..c5c1f81e0bc75fc8160620568a22f8003f6b23dc 100644
--- a/net/android/network_change_notifier_delegate_android.h
+++ b/net/android/network_change_notifier_delegate_android.h
@@ -106,6 +106,7 @@ class NET_EXPORT_PRIVATE NetworkChangeNotifierDelegateAndroid {
ConnectionType* connection_type) const;
ConnectionType GetNetworkConnectionType(NetworkHandle network) const;
NetworkHandle GetCurrentDefaultNetwork() const;
+ bool GetCurrentNetworkCaptivePortal() const;
void GetCurrentlyConnectedNetworks(NetworkList* network_list) const;
// Can only be called from the main (Java) thread.

Powered by Google App Engine
This is Rietveld 408576698