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..3d8f51086cf94297d7589a44b72eac7e162347e4 |
--- /dev/null |
+++ b/ash/system/chromeos/supervised/custodian_info_tray_observer.h |
@@ -0,0 +1,23 @@ |
+// 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 { |
+ |
+// Used to observe SystemTrayDelegate. |
+class CustodianInfoTrayObserver { |
+ 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_ |