Chromium Code Reviews| Index: ash/system/chromeos/supervised/custodian_info_tray_observer.h |
| diff --git a/ash/system/chromeos/supervised/custodian_info_tray_observer.h b/ash/system/chromeos/supervised/custodian_info_tray_observer.h |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..8065452eba5d2be5c2e5db6fcaf9476620f11d25 |
| --- /dev/null |
| +++ b/ash/system/chromeos/supervised/custodian_info_tray_observer.h |
| @@ -0,0 +1,22 @@ |
| +// Copyright 2014 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_CHROMEOS_SUPERVISED_CUSTODIAN_INFO_TRAY_OBSERVER_H_ |
| +#define ASH_SYSTEM_CHROMEOS_SUPERVISED_CUSTODIAN_INFO_TRAY_OBSERVER_H_ |
| + |
| +namespace ash { |
| + |
| +class CustodianInfoTrayObserver { |
|
Daniel Erat
2014/10/08 14:10:45
add a comment before this line explaining how the
|
| + public: |
| + // Called when information about the supervised user's custodian is changed, |
| + // e.g. the display name. |
| + virtual void OnCustodianInfoChanged() = 0; |
| + |
| + protected: |
| + virtual ~CustodianInfoTrayObserver() {} |
| +}; |
| + |
| +} // namespace ash |
| + |
| +#endif // ASH_SYSTEM_CHROMEOS_SUPERVISED_CUSTODIAN_INFO_TRAY_OBSERVER_H_ |