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

Unified Diff: chromeos/components/tether/tether_network_disconnection_handler.h

Issue 2821103003: Remove the configuration of Tether-associated Wi-Fi networks once connectivity is lost. (Closed)
Patch Set: Rebase. Created 3 years, 8 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/components/tether/tether_network_disconnection_handler.h
diff --git a/chromeos/components/tether/tether_network_disconnection_handler.h b/chromeos/components/tether/tether_network_disconnection_handler.h
index a92ee999feec0ce6f8077ba85ca1c08e03581971..046560455754f0c271f7cbd32be3d5d47e0b660b 100644
--- a/chromeos/components/tether/tether_network_disconnection_handler.h
+++ b/chromeos/components/tether/tether_network_disconnection_handler.h
@@ -15,6 +15,8 @@ class NetworkStateHandler;
namespace tether {
+class NetworkConfigurationRemover;
+
class ActiveHost;
// Handles lost Wi-Fi connections for ongoing tether sessions. When a tether
@@ -24,7 +26,10 @@ class ActiveHost;
// tracks ongoing connections and updates this metadata when necessary.
class TetherNetworkDisconnectionHandler : public NetworkStateHandlerObserver {
public:
- TetherNetworkDisconnectionHandler(ActiveHost* active_host);
+ TetherNetworkDisconnectionHandler(
+ ActiveHost* active_host,
+ NetworkStateHandler* network_state_handler,
+ NetworkConfigurationRemover* network_configuration_remover);
~TetherNetworkDisconnectionHandler() override;
// NetworkStateHandlerObserver:
@@ -33,11 +38,9 @@ class TetherNetworkDisconnectionHandler : public NetworkStateHandlerObserver {
private:
friend class TetherNetworkDisconnectionHandlerTest;
- TetherNetworkDisconnectionHandler(ActiveHost* active_host,
- NetworkStateHandler* network_state_handler);
-
ActiveHost* active_host_;
NetworkStateHandler* network_state_handler_;
+ NetworkConfigurationRemover* network_configuration_remover_;
DISALLOW_COPY_AND_ASSIGN(TetherNetworkDisconnectionHandler);
};

Powered by Google App Engine
This is Rietveld 408576698