| OLD | NEW |
| 1 // Copyright 2014 The Chromium Authors. All rights reserved. | 1 // Copyright 2014 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 CHROMEOS_LOGIN_USER_NAMES_H_ | 5 #ifndef CHROMEOS_LOGIN_USER_NAMES_H_ |
| 6 #define CHROMEOS_LOGIN_USER_NAMES_H_ | 6 #define CHROMEOS_LOGIN_USER_NAMES_H_ |
| 7 | 7 |
| 8 #include <string> | 8 #include <string> |
| 9 | 9 |
| 10 #include "components/user_manager/user_manager_export.h" | 10 #include "components/user_manager/user_manager_export.h" |
| 11 | 11 |
| 12 class AccountId; | 12 class AccountId; |
| 13 | 13 |
| 14 namespace user_manager { | 14 namespace user_manager { |
| 15 | 15 |
| 16 // Username for stub login when not running on ChromeOS. | 16 // Username for stub login for tests only. |
| 17 // It is also used for Chrome for ChromeOS linux dev build. |
| 17 USER_MANAGER_EXPORT extern const char kStubUser[]; | 18 USER_MANAGER_EXPORT extern const char kStubUser[]; |
| 18 | 19 |
| 19 // Magic e-mail addresses are bad. They exist here because some code already | 20 // Magic e-mail addresses are bad. They exist here because some code already |
| 20 // depends on them and it is hard to figure out what. Any user types added in | 21 // depends on them and it is hard to figure out what. Any user types added in |
| 21 // the future should be identified by a new |UserType|, not a new magic e-mail | 22 // the future should be identified by a new |UserType|, not a new magic e-mail |
| 22 // address. | 23 // address. |
| 23 // Username for Guest session user. | 24 // Username for Guest session user. |
| 24 USER_MANAGER_EXPORT extern const char kGuestUserName[]; | 25 USER_MANAGER_EXPORT extern const char kGuestUserName[]; |
| 25 | 26 |
| 26 // Domain that is used for all supervised users. | 27 // Domain that is used for all supervised users. |
| (...skipping 10 matching lines...) Expand all Loading... |
| 37 // to display WebUI during OOBE and SignIn. | 38 // to display WebUI during OOBE and SignIn. |
| 38 USER_MANAGER_EXPORT const AccountId& SignInAccountId(); | 39 USER_MANAGER_EXPORT const AccountId& SignInAccountId(); |
| 39 | 40 |
| 40 USER_MANAGER_EXPORT const AccountId& GuestAccountId(); | 41 USER_MANAGER_EXPORT const AccountId& GuestAccountId(); |
| 41 | 42 |
| 42 USER_MANAGER_EXPORT const AccountId& DemoAccountId(); | 43 USER_MANAGER_EXPORT const AccountId& DemoAccountId(); |
| 43 | 44 |
| 44 } // namespace user_manager | 45 } // namespace user_manager |
| 45 | 46 |
| 46 #endif // CHROMEOS_LOGIN_USER_NAMES_H_ | 47 #endif // CHROMEOS_LOGIN_USER_NAMES_H_ |
| OLD | NEW |