Index: ash/system/tray/system_tray_delegate.h |
diff --git a/ash/system/tray/system_tray_delegate.h b/ash/system/tray/system_tray_delegate.h |
index 4df2f70452f6576632d8df5c2b866bf3a2cf7272..6b7943afcbb0a3b9daab6d16d32494d942f5afa7 100644 |
--- a/ash/system/tray/system_tray_delegate.h |
+++ b/ash/system/tray/system_tray_delegate.h |
@@ -10,12 +10,16 @@ |
#include "ash/ash_export.h" |
#include "ash/system/user/login_status.h" |
+#include "base/callback_forward.h" |
#include "base/files/file_path.h" |
#include "base/i18n/time_formatting.h" |
#include "base/memory/scoped_ptr.h" |
+#include "base/memory/weak_ptr.h" |
#include "base/strings/string16.h" |
#include "ui/gfx/image/image_skia.h" |
+class CustodianInfoTrayObserver; |
+ |
namespace base { |
class TimeDelta; |
class TimeTicks; |
@@ -295,6 +299,11 @@ class ASH_EXPORT SystemTrayDelegate { |
// Returns accounts delegate for given user. |
virtual tray::UserAccountsDelegate* GetUserAccountsDelegate( |
const std::string& user_id) = 0; |
+ |
+ // Adding observers that are notified when supervised info is being changed. |
+ virtual void AddCustodianInfoChangedObserver( |
+ base::WeakPtr<CustodianInfoTrayObserver> observer) { |
Daniel Erat
2014/10/06 15:45:58
what's the lifetime of the observer relative to th
|
+ }; |
}; |
} // namespace ash |