| Index: ash/system/chromeos/supervised/tray_supervised_user.h
|
| diff --git a/ash/system/chromeos/supervised/tray_supervised_user.h b/ash/system/chromeos/supervised/tray_supervised_user.h
|
| index 5d07d25feb4e5371546f4f861fb12d180bf955a6..b007e73ec682f515b195b4d194f924c511e3331b 100644
|
| --- a/ash/system/chromeos/supervised/tray_supervised_user.h
|
| +++ b/ash/system/chromeos/supervised/tray_supervised_user.h
|
| @@ -8,6 +8,7 @@
|
| #include "ash/ash_export.h"
|
| #include "ash/system/tray/system_tray_item.h"
|
| #include "ash/system/tray/view_click_listener.h"
|
| +#include "base/memory/weak_ptr.h"
|
| #include "base/strings/string16.h"
|
|
|
| namespace ash {
|
| @@ -39,13 +40,20 @@ class ASH_EXPORT TraySupervisedUser : public SystemTrayItem,
|
|
|
| void CreateOrUpdateNotification(const base::string16& new_message);
|
|
|
| + void CreateOrUpdateSupervisedWarningNotification();
|
| +
|
| + void OnCustodianInfoChanged();
|
| +
|
| LabelTrayView* tray_view_;
|
| +
|
| // Previous login status to avoid showing notification upon unlock.
|
| user::LoginStatus status_;
|
|
|
| // Previous user supervised state to avoid showing notification upon unlock.
|
| bool is_user_supervised_;
|
|
|
| + base::WeakPtrFactory<TraySupervisedUser> weak_factory_;
|
| +
|
| DISALLOW_COPY_AND_ASSIGN(TraySupervisedUser);
|
| };
|
|
|
|
|