wifi_toggle_notification_controller.h 879 B

1234567891011121314151617181920212223242526272829
  1. // Copyright 2018 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. #ifndef ASH_SYSTEM_NETWORK_WIFI_TOGGLE_NOTIFICATION_CONTROLLER_H_
  5. #define ASH_SYSTEM_NETWORK_WIFI_TOGGLE_NOTIFICATION_CONTROLLER_H_
  6. #include "ash/system/network/network_observer.h"
  7. namespace ash {
  8. class WifiToggleNotificationController : public NetworkObserver {
  9. public:
  10. WifiToggleNotificationController();
  11. WifiToggleNotificationController(const WifiToggleNotificationController&) =
  12. delete;
  13. WifiToggleNotificationController& operator=(
  14. const WifiToggleNotificationController&) = delete;
  15. ~WifiToggleNotificationController() override;
  16. // NetworkObserver:
  17. void RequestToggleWifi() override;
  18. };
  19. } // namespace ash
  20. #endif // ASH_SYSTEM_NETWORK_WIFI_TOGGLE_NOTIFICATION_CONTROLLER_H_