tray_network_state_observer.h 999 B

1234567891011121314151617181920212223242526272829303132
  1. // Copyright 2019 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_TRAY_NETWORK_STATE_OBSERVER_H_
  5. #define ASH_SYSTEM_NETWORK_TRAY_NETWORK_STATE_OBSERVER_H_
  6. #include "base/observer_list_types.h"
  7. namespace ash {
  8. class TrayNetworkStateObserver : public base::CheckedObserver {
  9. public:
  10. // The active networks changed or a device enabled state changed.
  11. virtual void ActiveNetworkStateChanged() {}
  12. // The list of networks changed. The frequency of this event is limited.
  13. virtual void NetworkListChanged() {}
  14. // The list of devices changed or a device property changed.
  15. virtual void DeviceStateListChanged() {}
  16. // The list of VPN providers changed.
  17. virtual void VpnProvidersChanged() {}
  18. // The global policy object has changed.
  19. virtual void GlobalPolicyChanged() {}
  20. };
  21. } // namespace ash
  22. #endif // ASH_SYSTEM_NETWORK_TRAY_NETWORK_STATE_OBSERVER_H_