1234567891011121314151617181920212223242526272829303132 |
- // Copyright 2019 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 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_
|