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

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

Issue 2836543002: Revert of [CrOS Tether] Add the notion of a tether DeviceState. (Closed)
Patch Set: 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_device_state_manager.h
diff --git a/chromeos/components/tether/tether_device_state_manager.h b/chromeos/components/tether/tether_device_state_manager.h
deleted file mode 100644
index 4f05e70c29c8abe644a5d2c436fc82a61eb2646f..0000000000000000000000000000000000000000
--- a/chromeos/components/tether/tether_device_state_manager.h
+++ /dev/null
@@ -1,48 +0,0 @@
-// 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_TETHER_DEVICE_STATE_MANAGER_H_
-#define CHROMEOS_COMPONENTS_TETHER_TETHER_DEVICE_STATE_MANAGER_H_
-
-#include "base/macros.h"
-#include "chromeos/network/network_state_handler.h"
-#include "chromeos/network/network_state_handler_observer.h"
-
-namespace chromeos {
-
-class NetworkStateHandler;
-
-namespace tether {
-
-// Manages the device state of tether networks. The tether state is:
-// *TECHNOLOGY_PROHIBITED when tethering is disallowed by policy.
-// *TECHNOLOGY_UNAVAILABLE when tethering is allowed by policy, but either
-// the device has no Bluetooth capabilities or the logged-in user has no
-// tether hosts associated with their account.
-// *TECHNOLOGY_AVAILABLE when tethering is allowed by policy, the device has
-// Bluetooth capabilities, the logged-in user has tether hosts associated
-// with their account, but the Instant Tethering setting is disabled.
-// *TECHNOLOGY_ENABLED when tethering is allowed by policy, the device has
-// Bluetooth capabilities, the logged-in user has tether hosts associated
-// with their account, and the Instant Tethering setting is enabled.
-// TODO(hansberry): Complete this class description when implemented.
-class TetherDeviceStateManager : public NetworkStateHandlerObserver {
- public:
- explicit TetherDeviceStateManager(NetworkStateHandler* network_state_handler);
- ~TetherDeviceStateManager() override;
-
- // NetworkStateHandlerObserver:
- void DeviceListChanged() override;
-
- private:
- NetworkStateHandler* network_state_handler_;
-
- DISALLOW_COPY_AND_ASSIGN(TetherDeviceStateManager);
-};
-
-} // namespace tether
-
-} // namespace chromeos
-
-#endif // CHROMEOS_COMPONENTS_TETHER_TETHER_DEVICE_STATE_MANAGER_H_
« no previous file with comments | « chromeos/components/tether/tether_connector_unittest.cc ('k') | chromeos/components/tether/tether_device_state_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698