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

Unified Diff: chromeos/network/network_connection_handler.h

Issue 648623004: Fix reconnect in case of empty global network policy. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git/+/master
Patch Set: Created 6 years, 2 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
Index: chromeos/network/network_connection_handler.h
diff --git a/chromeos/network/network_connection_handler.h b/chromeos/network/network_connection_handler.h
index cc85a2ff423f4ea4cd5c6208360d07a14ece2660..73ecd669a4b80ba88a926c0eff053b19ee8eb19d 100644
--- a/chromeos/network/network_connection_handler.h
+++ b/chromeos/network/network_connection_handler.h
@@ -215,6 +215,10 @@ class CHROMEOS_EXPORT NetworkConnectionHandler
// when the device policy is changed.
void DisconnectIfPolicyRequires();
+ // Disconnects from all unmanaged and shared WiFi networks that are currently
+ // connected or connecting.
+ void DisconnectFromUnmanagedSharedWiFiNetworks();
+
// Requests a connect to the 'best' available network once after login and
// after any disconnect required by policy is executed (see
// DisconnectIfPolicyRequires()). To include networks with client

Powered by Google App Engine
This is Rietveld 408576698