| 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 #include "ash/mus/system_tray_delegate_mus.h" | 5 #include "ash/mus/system_tray_delegate_mus.h" |
| 6 | 6 |
| 7 #include "ash/common/session/session_controller.h" | 7 #include "ash/common/session/session_controller.h" |
| 8 #include "ash/common/system/networking_config_delegate.h" | 8 #include "ash/common/system/networking_config_delegate.h" |
| 9 #include "ash/shell.h" | 9 #include "ash/shell.h" |
| 10 | 10 |
| (...skipping 19 matching lines...) Expand all Loading... |
| 30 | 30 |
| 31 } // namespace | 31 } // namespace |
| 32 | 32 |
| 33 SystemTrayDelegateMus::SystemTrayDelegateMus() | 33 SystemTrayDelegateMus::SystemTrayDelegateMus() |
| 34 : networking_config_delegate_(new StubNetworkingConfigDelegate) {} | 34 : networking_config_delegate_(new StubNetworkingConfigDelegate) {} |
| 35 | 35 |
| 36 SystemTrayDelegateMus::~SystemTrayDelegateMus() { | 36 SystemTrayDelegateMus::~SystemTrayDelegateMus() { |
| 37 } | 37 } |
| 38 | 38 |
| 39 LoginStatus SystemTrayDelegateMus::GetUserLoginStatus() const { | 39 LoginStatus SystemTrayDelegateMus::GetUserLoginStatus() const { |
| 40 return Shell::Get()->session_controller()->GetLoginStatus(); | 40 return Shell::Get()->session_controller()->login_status(); |
| 41 } | 41 } |
| 42 | 42 |
| 43 NetworkingConfigDelegate* SystemTrayDelegateMus::GetNetworkingConfigDelegate() | 43 NetworkingConfigDelegate* SystemTrayDelegateMus::GetNetworkingConfigDelegate() |
| 44 const { | 44 const { |
| 45 return networking_config_delegate_.get(); | 45 return networking_config_delegate_.get(); |
| 46 } | 46 } |
| 47 | 47 |
| 48 } // namespace ash | 48 } // namespace ash |
| OLD | NEW |