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

Side by Side Diff: chromeos/components/tether/network_configuration_remover.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 unified diff | Download patch
OLDNEW
(Empty)
1 // Copyright 2017 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file.
4
5 #ifndef CHROMEOS_COMPONENTS_TETHER_NETWORK_CONFIGURATION_REMOVER_H_
6 #define CHROMEOS_COMPONENTS_TETHER_NETWORK_CONFIGURATION_REMOVER_H_
7
8 #include <string>
9
10 #include "base/macros.h"
11 #include "chromeos/network/network_state_handler.h"
12
13 namespace chromeos {
14
15 class ManagedNetworkConfigurationHandler;
16 class NetworkStateHandler;
17
18 namespace tether {
19
20 // Handles the removal of the configuration of a Wi-Fi network.
21 class NetworkConfigurationRemover {
22 public:
23 NetworkConfigurationRemover(NetworkStateHandler* network_state_handler,
24 ManagedNetworkConfigurationHandler*
25 managed_network_configuration_handler);
26 virtual ~NetworkConfigurationRemover();
27
28 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.
29
30 private:
31 friend class NetworkConfigurationRemoverTest;
32
33 NetworkStateHandler* network_state_handler_;
34 ManagedNetworkConfigurationHandler* managed_network_configuration_handler_;
35
36 DISALLOW_COPY_AND_ASSIGN(NetworkConfigurationRemover);
37 };
38
39 } // namespace tether
40
41 } // namespace chromeos
42
43 #endif // CHROMEOS_COMPONENTS_TETHER_NETWORK_CONFIGURATION_REMOVER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698