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

Side by Side Diff: chromeos/login/user_names.h

Issue 2452983002: ChromeOS: This CL moves chromeos/login/user_names* to user_mananger. (Closed)
Patch Set: Removed unused #includes Created 4 years, 1 month 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
« no previous file with comments | « chromeos/login/auth/user_context.cc ('k') | chromeos/login/user_names.cc » ('j') | no next file with comments »
Toggle Intra-line Diffs ('i') | Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
OLDNEW
(Empty)
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
3 // found in the LICENSE file.
4
5 #ifndef CHROMEOS_LOGIN_USER_NAMES_H_
6 #define CHROMEOS_LOGIN_USER_NAMES_H_
7
8 #include <string>
9
10 #include "chromeos/chromeos_export.h"
11
12 class AccountId;
13
14 namespace chromeos {
15
16 namespace login {
17
18 // Username for stub login when not running on ChromeOS.
19 CHROMEOS_EXPORT extern const char kStubUser[];
20
21 // Magic e-mail addresses are bad. They exist here because some code already
22 // depends on them and it is hard to figure out what. Any user types added in
23 // the future should be identified by a new |UserType|, not a new magic e-mail
24 // address.
25 // Username for Guest session user.
26 CHROMEOS_EXPORT extern const char kGuestUserName[];
27
28 // Domain that is used for all supervised users.
29 CHROMEOS_EXPORT extern const char kSupervisedUserDomain[];
30
31 // Canonicalizes a GAIA user ID, accounting for the legacy guest mode user ID
32 // which does trips up gaia::CanonicalizeEmail() because it does not contain an
33 // @ symbol.
34 CHROMEOS_EXPORT std::string CanonicalizeUserID(const std::string& user_id);
35
36 CHROMEOS_EXPORT const AccountId& StubAccountId();
37
38 // AccountId for the login screen. It identifies ephemeral profile that is used
39 // to display WebUI during OOBE and SignIn.
40 CHROMEOS_EXPORT const AccountId& SignInAccountId();
41
42 CHROMEOS_EXPORT const AccountId& GuestAccountId();
43
44 CHROMEOS_EXPORT const AccountId& DemoAccountId();
45
46 } // namespace login
47
48 } // namespace chromeos
49
50 #endif // CHROMEOS_LOGIN_USER_NAMES_H_
OLDNEW
« no previous file with comments | « chromeos/login/auth/user_context.cc ('k') | chromeos/login/user_names.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698