| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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_SYSTEM_SUPERVISED_CUSTODIAN_INFO_TRAY_OBSERVER_H_ | 5 #ifndef ASH_COMMON_SYSTEM_CHROMEOS_SUPERVISED_CUSTODIAN_INFO_TRAY_OBSERVER_H_ |
| 6 #define ASH_SYSTEM_SUPERVISED_CUSTODIAN_INFO_TRAY_OBSERVER_H_ | 6 #define ASH_COMMON_SYSTEM_CHROMEOS_SUPERVISED_CUSTODIAN_INFO_TRAY_OBSERVER_H_ |
| 7 | 7 |
| 8 namespace ash { | 8 namespace ash { |
| 9 | 9 |
| 10 // Used to observe SystemTrayDelegate. | 10 // Used to observe SystemTrayDelegate. |
| 11 class CustodianInfoTrayObserver { | 11 class CustodianInfoTrayObserver { |
| 12 public: | 12 public: |
| 13 // Called when information about the supervised user's custodian is changed, | 13 // Called when information about the supervised user's custodian is changed, |
| 14 // e.g. the display name. | 14 // e.g. the display name. |
| 15 virtual void OnCustodianInfoChanged() = 0; | 15 virtual void OnCustodianInfoChanged() = 0; |
| 16 | 16 |
| 17 protected: | 17 protected: |
| 18 virtual ~CustodianInfoTrayObserver() {} | 18 virtual ~CustodianInfoTrayObserver() {} |
| 19 }; | 19 }; |
| 20 | 20 |
| 21 } // namespace ash | 21 } // namespace ash |
| 22 | 22 |
| 23 #endif // ASH_SYSTEM_SUPERVISED_CUSTODIAN_INFO_TRAY_OBSERVER_H_ | 23 #endif // ASH_COMMON_SYSTEM_CHROMEOS_SUPERVISED_CUSTODIAN_INFO_TRAY_OBSERVER_H_ |
| OLD | NEW |