| 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 d55e2ae8e32febe3c44ff452cb66aee5dcf84d4d..9b3c2c0248bb00d01fb8652a0510ba2d50e8e879 100644
|
| --- a/ash/system/tray/system_tray_delegate.h
|
| +++ b/ash/system/tray/system_tray_delegate.h
|
| @@ -10,6 +10,7 @@
|
|
|
| #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"
|
| @@ -23,6 +24,8 @@ class TimeTicks;
|
|
|
| namespace ash {
|
|
|
| +class CustodianInfoTrayObserver;
|
| +
|
| struct ASH_EXPORT NetworkIconInfo {
|
| NetworkIconInfo();
|
| ~NetworkIconInfo();
|
| @@ -311,6 +314,13 @@ 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 AddCustodianInfoTrayObserver(
|
| + CustodianInfoTrayObserver* observer) = 0;
|
| +
|
| + virtual void RemoveCustodianInfoTrayObserver(
|
| + CustodianInfoTrayObserver* observer) = 0;
|
| };
|
|
|
| } // namespace ash
|
|
|