Index: ash/system/tray/system_tray.h |
diff --git a/ash/system/tray/system_tray.h b/ash/system/tray/system_tray.h |
index 13de3f619b792c64996f8c295a2286a8c720cdcf..0fcd5e639e0e1dd2d7d0744281c7278d59b59564 100644 |
--- a/ash/system/tray/system_tray.h |
+++ b/ash/system/tray/system_tray.h |
@@ -7,6 +7,7 @@ |
#pragma once |
#include "ash/ash_export.h" |
+#include "ash/system/user/login_status.h" |
#include "base/basictypes.h" |
#include "ui/views/view.h" |
#include "ui/views/widget/widget.h" |
@@ -32,6 +33,9 @@ class ASH_EXPORT SystemTray : public views::View, |
// Shows details of a particular item. |
void ShowDetailedView(SystemTrayItem* item); |
+ // Updates the items when the login status of the system changes. |
+ void UpdateAfterLoginStatusChange(user::LoginStatus login_status); |
+ |
const std::vector<SystemTrayItem*>& items() const { return items_; } |
private: |