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

Side by Side Diff: chrome/browser/ui/ash/session_state_delegate_chromeos.h

Issue 26359003: Adding "UserAddedToSession" notifier to the SessionStateObserver (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Created 7 years, 2 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 unified diff | Download patch | Annotate | Revision Log
OLDNEW
1 // Copyright (c) 2013 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2013 The Chromium Authors. All rights reserved.
2 // Use of this source code is governed by a BSD-style license that can be 2 // Use of this source code is governed by a BSD-style license that can be
3 // found in the LICENSE file. 3 // found in the LICENSE file.
4 4
5 #ifndef CHROME_BROWSER_UI_ASH_SESSION_STATE_DELEGATE_CHROMEOS_H_ 5 #ifndef CHROME_BROWSER_UI_ASH_SESSION_STATE_DELEGATE_CHROMEOS_H_
6 #define CHROME_BROWSER_UI_ASH_SESSION_STATE_DELEGATE_CHROMEOS_H_ 6 #define CHROME_BROWSER_UI_ASH_SESSION_STATE_DELEGATE_CHROMEOS_H_
7 7
8 #include "ash/session_state_delegate.h" 8 #include "ash/session_state_delegate.h"
9 #include "base/basictypes.h" 9 #include "base/basictypes.h"
10 #include "base/compiler_specific.h" 10 #include "base/compiler_specific.h"
(...skipping 30 matching lines...) Expand all
41 virtual void GetLoggedInUsers(ash::UserIdList* users) OVERRIDE; 41 virtual void GetLoggedInUsers(ash::UserIdList* users) OVERRIDE;
42 virtual void SwitchActiveUser(const std::string& user_email) OVERRIDE; 42 virtual void SwitchActiveUser(const std::string& user_email) OVERRIDE;
43 virtual void SwitchActiveUserToNext() OVERRIDE; 43 virtual void SwitchActiveUserToNext() OVERRIDE;
44 virtual void AddSessionStateObserver( 44 virtual void AddSessionStateObserver(
45 ash::SessionStateObserver* observer) OVERRIDE; 45 ash::SessionStateObserver* observer) OVERRIDE;
46 virtual void RemoveSessionStateObserver( 46 virtual void RemoveSessionStateObserver(
47 ash::SessionStateObserver* observer) OVERRIDE; 47 ash::SessionStateObserver* observer) OVERRIDE;
48 48
49 // UserManager::UserSessionStateObserver: 49 // UserManager::UserSessionStateObserver:
50 virtual void ActiveUserChanged(const chromeos::User* active_user) OVERRIDE; 50 virtual void ActiveUserChanged(const chromeos::User* active_user) OVERRIDE;
51 virtual void UserAddedToSession(const chromeos::User* added_user) OVERRIDE;
51 52
52 private: 53 private:
53 // List of observers is only used on Chrome OS for now. 54 // List of observers is only used on Chrome OS for now.
54 ObserverList<ash::SessionStateObserver> session_state_observer_list_; 55 ObserverList<ash::SessionStateObserver> session_state_observer_list_;
55 56
56 DISALLOW_COPY_AND_ASSIGN(SessionStateDelegateChromeos); 57 DISALLOW_COPY_AND_ASSIGN(SessionStateDelegateChromeos);
57 }; 58 };
58 59
59 #endif // CHROME_BROWSER_UI_ASH_SESSION_STATE_DELEGATE_CHROMEOS_H_ 60 #endif // CHROME_BROWSER_UI_ASH_SESSION_STATE_DELEGATE_CHROMEOS_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/user_manager_impl.cc ('k') | chrome/browser/ui/ash/session_state_delegate_chromeos.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698