1
    2
    3
    4
    5
    6
    7
    8
    9
   10
   11
   12
   13
   14
   15
   16
   17
   18
   19
   20
   21
   22
   23
   24
   25
   26
   27
   28
   29

ash / system / network / wifi_toggle_notification_controller.h [blame]

// Copyright 2018 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.

#ifndef ASH_SYSTEM_NETWORK_WIFI_TOGGLE_NOTIFICATION_CONTROLLER_H_
#define ASH_SYSTEM_NETWORK_WIFI_TOGGLE_NOTIFICATION_CONTROLLER_H_

#include "ash/system/network/network_observer.h"

namespace ash {

class WifiToggleNotificationController : public NetworkObserver {
 public:
  WifiToggleNotificationController();

  WifiToggleNotificationController(const WifiToggleNotificationController&) =
      delete;
  WifiToggleNotificationController& operator=(
      const WifiToggleNotificationController&) = delete;

  ~WifiToggleNotificationController() override;

  // NetworkObserver:
  void RequestToggleWifi() override;
};

}  // namespace ash

#endif  // ASH_SYSTEM_NETWORK_WIFI_TOGGLE_NOTIFICATION_CONTROLLER_H_