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

Side by Side Diff: chrome/browser/chromeos/login/user_manager_impl.h

Issue 16002004: Added login screen mode for adding users into session. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: WebUI test fixed. 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 unified diff | Download patch
OLDNEW
1 // Copyright (c) 2012 The Chromium Authors. All rights reserved. 1 // Copyright (c) 2012 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_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_
7 7
8 #include <map> 8 #include <map>
9 #include <string> 9 #include <string>
10 #include <vector> 10 #include <vector>
(...skipping 34 matching lines...) Expand 10 before | Expand all | Expand 10 after
45 public ProfileSyncServiceObserver, 45 public ProfileSyncServiceObserver,
46 public content::NotificationObserver, 46 public content::NotificationObserver,
47 public policy::DeviceLocalAccountPolicyService::Observer { 47 public policy::DeviceLocalAccountPolicyService::Observer {
48 public: 48 public:
49 virtual ~UserManagerImpl(); 49 virtual ~UserManagerImpl();
50 50
51 // UserManager implementation: 51 // UserManager implementation:
52 virtual void Shutdown() OVERRIDE; 52 virtual void Shutdown() OVERRIDE;
53 virtual UserImageManager* GetUserImageManager() OVERRIDE; 53 virtual UserImageManager* GetUserImageManager() OVERRIDE;
54 virtual const UserList& GetUsers() const OVERRIDE; 54 virtual const UserList& GetUsers() const OVERRIDE;
55 virtual UserList GetUsersAdmittedForMultiProfile() const OVERRIDE;
55 virtual const UserList& GetLoggedInUsers() const OVERRIDE; 56 virtual const UserList& GetLoggedInUsers() const OVERRIDE;
56 virtual const UserList& GetLRULoggedInUsers() OVERRIDE; 57 virtual const UserList& GetLRULoggedInUsers() OVERRIDE;
57 virtual void UserLoggedIn(const std::string& email, 58 virtual void UserLoggedIn(const std::string& email,
58 const std::string& username_hash, 59 const std::string& username_hash,
59 bool browser_restart) OVERRIDE; 60 bool browser_restart) OVERRIDE;
60 virtual void SwitchActiveUser(const std::string& email) OVERRIDE; 61 virtual void SwitchActiveUser(const std::string& email) OVERRIDE;
61 virtual void RestoreActiveSessions() OVERRIDE; 62 virtual void RestoreActiveSessions() OVERRIDE;
62 virtual void SessionStarted() OVERRIDE; 63 virtual void SessionStarted() OVERRIDE;
63 virtual void RemoveUser(const std::string& email, 64 virtual void RemoveUser(const std::string& email,
64 RemoveUserDelegate* delegate) OVERRIDE; 65 RemoveUserDelegate* delegate) OVERRIDE;
(...skipping 326 matching lines...) Expand 10 before | Expand all | Expand 10 after
391 // User sessions that have to be restored after browser crash. 392 // User sessions that have to be restored after browser crash.
392 // [user_id] > [user_id_hash] 393 // [user_id] > [user_id_hash]
393 SessionManagerClient::ActiveSessionsMap pending_user_sessions_; 394 SessionManagerClient::ActiveSessionsMap pending_user_sessions_;
394 395
395 DISALLOW_COPY_AND_ASSIGN(UserManagerImpl); 396 DISALLOW_COPY_AND_ASSIGN(UserManagerImpl);
396 }; 397 };
397 398
398 } // namespace chromeos 399 } // namespace chromeos
399 400
400 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ 401 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/user_manager.h ('k') | chrome/browser/chromeos/login/user_manager_impl.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698