Chromium Code Reviews| Index: chromeos/components/tether/network_configuration_remover.h |
| diff --git a/chromeos/components/tether/network_configuration_remover.h b/chromeos/components/tether/network_configuration_remover.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..51e048c51117cb5747ddff4d324076b728852864 |
| --- /dev/null |
| +++ b/chromeos/components/tether/network_configuration_remover.h |
| @@ -0,0 +1,43 @@ |
| +// Copyright 2017 The Chromium Authors. All rights reserved. |
| +// Use of this source code is governed by a BSD-style license that can be |
| +// found in the LICENSE file. |
| + |
| +#ifndef CHROMEOS_COMPONENTS_TETHER_NETWORK_CONFIGURATION_REMOVER_H_ |
| +#define CHROMEOS_COMPONENTS_TETHER_NETWORK_CONFIGURATION_REMOVER_H_ |
| + |
| +#include <string> |
| + |
| +#include "base/macros.h" |
| +#include "chromeos/network/network_state_handler.h" |
| + |
| +namespace chromeos { |
| + |
| +class ManagedNetworkConfigurationHandler; |
| +class NetworkStateHandler; |
| + |
| +namespace tether { |
| + |
| +// Handles the removal of the configuration of a Wi-Fi network. |
| +class NetworkConfigurationRemover { |
| + public: |
| + NetworkConfigurationRemover(NetworkStateHandler* network_state_handler, |
| + ManagedNetworkConfigurationHandler* |
| + managed_network_configuration_handler); |
| + virtual ~NetworkConfigurationRemover(); |
| + |
| + virtual void RemoveNetworkConfiguration(const std::string& wifi_network_guid); |
|
stevenjb
2017/04/21 20:15:28
Document this
Ryan Hansberry
2017/04/24 17:56:20
Done.
|
| + |
| + private: |
| + friend class NetworkConfigurationRemoverTest; |
| + |
| + NetworkStateHandler* network_state_handler_; |
| + ManagedNetworkConfigurationHandler* managed_network_configuration_handler_; |
| + |
| + DISALLOW_COPY_AND_ASSIGN(NetworkConfigurationRemover); |
| +}; |
| + |
| +} // namespace tether |
| + |
| +} // namespace chromeos |
| + |
| +#endif // CHROMEOS_COMPONENTS_TETHER_NETWORK_CONFIGURATION_REMOVER_H_ |