| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #ifndef ASH_MUS_SYSTEM_TRAY_DELEGATE_MUS_H_ | 5 #ifndef ASH_MUS_SYSTEM_TRAY_DELEGATE_MUS_H_ |
| 6 #define ASH_MUS_SYSTEM_TRAY_DELEGATE_MUS_H_ | 6 #define ASH_MUS_SYSTEM_TRAY_DELEGATE_MUS_H_ |
| 7 | 7 |
| 8 #include <memory> | 8 #include <memory> |
| 9 | 9 |
| 10 #include "ash/system/tray/system_tray_delegate.h" | 10 #include "ash/system/tray/system_tray_delegate.h" |
| 11 #include "base/macros.h" | 11 #include "base/macros.h" |
| 12 | 12 |
| 13 namespace ash { | 13 namespace ash { |
| 14 | 14 |
| 15 class NetworkingConfigDelegate; | 15 class NetworkingConfigDelegate; |
| 16 | 16 |
| 17 // Handles the settings displayed in the system tray menu. For the classic ash | 17 // Handles the settings displayed in the system tray menu. For the classic ash |
| 18 // version see SystemTrayDelegateChromeOS. | 18 // version see SystemTrayDelegateChromeOS. |
| 19 // | 19 // |
| 20 // TODO: Replace with SystemTrayController. http://crbug.com/647412. | 20 // TODO: Replace with SystemTrayController. http://crbug.com/647412. |
| 21 class SystemTrayDelegateMus : public SystemTrayDelegate { | 21 class SystemTrayDelegateMus : public SystemTrayDelegate { |
| 22 public: | 22 public: |
| 23 SystemTrayDelegateMus(); | 23 SystemTrayDelegateMus(); |
| 24 ~SystemTrayDelegateMus() override; | 24 ~SystemTrayDelegateMus() override; |
| 25 | 25 |
| 26 private: | 26 private: |
| 27 // SystemTrayDelegate: | 27 // SystemTrayDelegate: |
| 28 LoginStatus GetUserLoginStatus() const override; | |
| 29 NetworkingConfigDelegate* GetNetworkingConfigDelegate() const override; | 28 NetworkingConfigDelegate* GetNetworkingConfigDelegate() const override; |
| 30 | 29 |
| 31 std::unique_ptr<NetworkingConfigDelegate> networking_config_delegate_; | 30 std::unique_ptr<NetworkingConfigDelegate> networking_config_delegate_; |
| 32 | 31 |
| 33 DISALLOW_COPY_AND_ASSIGN(SystemTrayDelegateMus); | 32 DISALLOW_COPY_AND_ASSIGN(SystemTrayDelegateMus); |
| 34 }; | 33 }; |
| 35 | 34 |
| 36 } // namespace ash | 35 } // namespace ash |
| 37 | 36 |
| 38 #endif // ASH_MUS_SYSTEM_TRAY_DELEGATE_MUS_H_ | 37 #endif // ASH_MUS_SYSTEM_TRAY_DELEGATE_MUS_H_ |
| OLD | NEW |