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

Unified Diff: chromeos/components/tether/initializer.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
« no previous file with comments | « chromeos/components/tether/BUILD.gn ('k') | chromeos/components/tether/initializer.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chromeos/components/tether/initializer.h
diff --git a/chromeos/components/tether/initializer.h b/chromeos/components/tether/initializer.h
index c633bebe9196468ad3981bf40e6fdfb8c4017d58..60898e8eb8308a6b7ef743cded443869df47f676 100644
--- a/chromeos/components/tether/initializer.h
+++ b/chromeos/components/tether/initializer.h
@@ -25,6 +25,7 @@ class RemoteBeaconSeedFetcher;
namespace chromeos {
+class ManagedNetworkConfigurationHandler;
class NetworkConnect;
class NetworkStateHandler;
@@ -37,10 +38,12 @@ class DeviceIdTetherNetworkGuidMap;
class HostScanner;
class HostScanDevicePrioritizer;
class LocalDeviceDataProvider;
+class NetworkConfigurationRemover;
class NotificationPresenter;
class TetherConnector;
class TetherDeviceStateManager;
class TetherHostFetcher;
+class TetherNetworkDisconnectionHandler;
class WifiHotspotConnector;
// Initializes the Tether Chrome OS component.
@@ -53,6 +56,7 @@ class Initializer : public OAuth2TokenService::Observer {
PrefService* pref_service,
ProfileOAuth2TokenService* token_service,
NetworkStateHandler* network_state_handler,
+ ManagedNetworkConfigurationHandler* managed_network_configuration_handler,
NetworkConnect* network_connect);
// Shuts down the tether feature, destroying all internal classes. This should
@@ -66,12 +70,14 @@ class Initializer : public OAuth2TokenService::Observer {
static Initializer* instance_;
- Initializer(cryptauth::CryptAuthService* cryptauth_service,
- std::unique_ptr<NotificationPresenter> notification_presenter,
- PrefService* pref_service,
- ProfileOAuth2TokenService* token_service,
- NetworkStateHandler* network_state_handler,
- NetworkConnect* network_connect);
+ Initializer(
+ cryptauth::CryptAuthService* cryptauth_service,
+ std::unique_ptr<NotificationPresenter> notification_presenter,
+ PrefService* pref_service,
+ ProfileOAuth2TokenService* token_service,
+ NetworkStateHandler* network_state_handler,
+ ManagedNetworkConfigurationHandler* managed_network_configuration_handler,
+ NetworkConnect* network_connect);
~Initializer() override;
// OAuth2TokenService::Observer:
@@ -90,6 +96,7 @@ class Initializer : public OAuth2TokenService::Observer {
PrefService* pref_service_;
ProfileOAuth2TokenService* token_service_;
NetworkStateHandler* network_state_handler_;
+ ManagedNetworkConfigurationHandler* managed_network_configuration_handler_;
NetworkConnect* network_connect_;
// Declare new objects in the order that they will be created during
@@ -109,6 +116,9 @@ class Initializer : public OAuth2TokenService::Observer {
std::unique_ptr<DeviceIdTetherNetworkGuidMap>
device_id_tether_network_guid_map_;
std::unique_ptr<TetherConnector> tether_connector_;
+ std::unique_ptr<NetworkConfigurationRemover> network_configuration_remover_;
+ std::unique_ptr<TetherNetworkDisconnectionHandler>
+ tether_network_disconnection_handler_;
std::unique_ptr<HostScanner> host_scanner_;
base::WeakPtrFactory<Initializer> weak_ptr_factory_;
« no previous file with comments | « chromeos/components/tether/BUILD.gn ('k') | chromeos/components/tether/initializer.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698