Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2089)

Unified Diff: ash/system/chromeos/supervised/custodian_info_tray_observer.h

Issue 627593003: Adding infrastructure for possibility of changing manager names for the supervised accounts. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Specific observer class introduced. Created 6 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
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..c9467263591b91f39037af42a5d92be432a6abc6
--- /dev/null
+++ b/ash/system/chromeos/supervised/custodian_info_tray_observer.h
@@ -0,0 +1,18 @@
+// 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_
+
+class CustodianInfoTrayObserver {
Daniel Erat 2014/10/06 15:45:58 this should be in the ash namespace, i think
merkulova 2014/10/07 11:27:38 Done.
+ public:
+ // Called when information about the supervised user's custodian is changed,
+ // e.g. the display name.
+ virtual void OnCustodianInfoChanged() {}
+
+ protected:
+ virtual ~CustodianInfoTrayObserver() {}
+};
+
+#endif // ASH_SYSTEM_CHROMEOS_SUPERVISED_CUSTODIAN_INFO_TRAY_OBSERVER_H_

Powered by Google App Engine
This is Rietveld 408576698