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
   30
   31
   32

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

// Copyright 2019 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_TRAY_NETWORK_STATE_OBSERVER_H_
#define ASH_SYSTEM_NETWORK_TRAY_NETWORK_STATE_OBSERVER_H_

#include "base/observer_list_types.h"

namespace ash {

class TrayNetworkStateObserver : public base::CheckedObserver {
 public:
  // The active networks changed or a device enabled state changed.
  virtual void ActiveNetworkStateChanged() {}

  // The list of networks changed. The frequency of this event is limited.
  virtual void NetworkListChanged() {}

  // The list of devices changed or a device property changed.
  virtual void DeviceStateListChanged() {}

  // The list of VPN providers changed.
  virtual void VpnProvidersChanged() {}

  // The global policy object has changed.
  virtual void GlobalPolicyChanged() {}
};

}  // namespace ash

#endif  // ASH_SYSTEM_NETWORK_TRAY_NETWORK_STATE_OBSERVER_H_