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

Unified Diff: ash/common/session/session_state_observer.h

Issue 2780963002: ash: Fix system tray avatar not updated regression (Closed)
Patch Set: resized_ -> resized_image_ Created 3 years, 9 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
« no previous file with comments | « ash/common/session/session_controller.cc ('k') | ash/common/system/tray/system_tray_notifier.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/common/session/session_state_observer.h
diff --git a/ash/common/session/session_state_observer.h b/ash/common/session/session_state_observer.h
index 99bdb423e7693a715585965fbeec8b7a52a727b4..83aefd7e74bc175d75949c962079119fcf8bb222 100644
--- a/ash/common/session/session_state_observer.h
+++ b/ash/common/session/session_state_observer.h
@@ -21,6 +21,9 @@ class ASH_EXPORT SessionStateObserver {
// Called when another user gets added to the existing session.
virtual void UserAddedToSession(const AccountId& account_id) {}
+ // Called when a user session is updated, such as avatar change.
+ virtual void UserSessionUpdated(const AccountId& account_id) {}
+
// Called when session state is changed.
virtual void SessionStateChanged(session_manager::SessionState state) {}
« no previous file with comments | « ash/common/session/session_controller.cc ('k') | ash/common/system/tray/system_tray_notifier.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698