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

Unified Diff: ash/session_state_observer.h

Issue 15718003: Add SessionStateObserver with ActiveUserChanged() (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: merge & add SessionStateDelegateChromeos Created 7 years, 6 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_unittest.cc » ('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
new file mode 100644
index 0000000000000000000000000000000000000000..f4fad9dbf913f9e37e1bb963b5fe32669285afe5
--- /dev/null
+++ b/ash/session_state_observer.h
@@ -0,0 +1,25 @@
+// Copyright (c) 2013 The Chromium Authors. All rights reserved.
+// Use of this source code is governed by a BSD-style license that can be
+// found in the LICENSE file.
+
+#ifndef ASH_SESSION_STATE_OBSERVER_H_
+#define ASH_SESSION_STATE_OBSERVER_H_
+
+#include <string>
+
+#include "ash/ash_export.h"
+
+namespace ash {
+
+class ASH_EXPORT SessionStateObserver {
+ public:
+ // Called when active user has changed.
+ virtual void ActiveUserChanged(const std::string& user_id) {}
+
+ protected:
+ virtual ~SessionStateObserver() {}
+};
+
+} // namespace ash
+
+#endif // ASH_SESSION_STATE_OBSERVER_H_
« no previous file with comments | « ash/session_state_delegate_stub.cc ('k') | ash/shelf/shelf_layout_manager_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698