blob: ecf464514170c2b2059f0e01e23ecbcdb3262be5 [file] [log] [blame]
// Copyright 2016 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_MUS_SYSTEM_TRAY_DELEGATE_MUS_H_
#define ASH_MUS_SYSTEM_TRAY_DELEGATE_MUS_H_
#include <memory>
#include "ash/common/system/tray/default_system_tray_delegate.h"
#include "base/macros.h"
namespace ash {
class NetworkingConfigDelegate;
// Handles the settings displayed in the system tray menu. For the classic ash
// version see SystemTrayDelegateChromeOS.
//
// TODO: Replace with SystemTrayController. http://crbug.com/647412.
class SystemTrayDelegateMus : public DefaultSystemTrayDelegate {
public:
SystemTrayDelegateMus();
~SystemTrayDelegateMus() override;
private:
// SystemTrayDelegate:
LoginStatus GetUserLoginStatus() const override;
NetworkingConfigDelegate* GetNetworkingConfigDelegate() const override;
std::unique_ptr<NetworkingConfigDelegate> networking_config_delegate_;
DISALLOW_COPY_AND_ASSIGN(SystemTrayDelegateMus);
};
} // namespace ash
#endif // ASH_MUS_SYSTEM_TRAY_DELEGATE_MUS_H_