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

Unified Diff: ash/session_state_observer.h

Issue 231123002: Notify about major session changes events. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: fix unit_tests Created 6 years, 8 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/session_state_delegate_stub.cc ('k') | ash/shelf/shelf_layout_manager.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: ash/session_state_observer.h
diff --git a/ash/session_state_observer.h b/ash/session_state_observer.h
index de1b5333801e51934884c9f447da2b23db25d12c..59d6f672090339b9b843dfca94ea63c0c0ffd651 100644
--- a/ash/session_state_observer.h
+++ b/ash/session_state_observer.h
@@ -8,6 +8,7 @@
#include <string>
#include "ash/ash_export.h"
+#include "ash/session_state_delegate.h"
#include "base/basictypes.h"
namespace ash {
@@ -20,6 +21,9 @@ class ASH_EXPORT SessionStateObserver {
// Called when another user gets added to the existing session.
virtual void UserAddedToSession(const std::string& user_id) {}
+ // Called when session state is changed.
+ virtual void SessionStateChanged(SessionStateDelegate::SessionState state) {}
+
protected:
virtual ~SessionStateObserver() {}
};
« no previous file with comments | « ash/session_state_delegate_stub.cc ('k') | ash/shelf/shelf_layout_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698