OLD | NEW |
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 465 matching lines...) Expand 10 before | Expand all | Expand 10 after Loading... |
476 | 476 |
477 scoped_ptr<MultiProfileUserController> multi_profile_user_controller_; | 477 scoped_ptr<MultiProfileUserController> multi_profile_user_controller_; |
478 | 478 |
479 // Observer for the policy that can be used to manage user images. | 479 // Observer for the policy that can be used to manage user images. |
480 scoped_ptr<policy::CloudExternalDataPolicyObserver> avatar_policy_observer_; | 480 scoped_ptr<policy::CloudExternalDataPolicyObserver> avatar_policy_observer_; |
481 | 481 |
482 // Observer for the policy that can be used to manage wallpapers. | 482 // Observer for the policy that can be used to manage wallpapers. |
483 scoped_ptr<policy::CloudExternalDataPolicyObserver> | 483 scoped_ptr<policy::CloudExternalDataPolicyObserver> |
484 wallpaper_policy_observer_; | 484 wallpaper_policy_observer_; |
485 | 485 |
| 486 // ID of the user just added to the session that needs to be activated |
| 487 // as soon as user's profile is loaded. |
| 488 std::string pending_user_switch_; |
| 489 |
486 DISALLOW_COPY_AND_ASSIGN(UserManagerImpl); | 490 DISALLOW_COPY_AND_ASSIGN(UserManagerImpl); |
487 }; | 491 }; |
488 | 492 |
489 } // namespace chromeos | 493 } // namespace chromeos |
490 | 494 |
491 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ | 495 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_IMPL_H_ |
OLD | NEW |