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

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

Issue 608283003: Remove retail mode. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 6 years 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/login_state.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
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 "chromeos/chromeos_export.h" 10 #include "chromeos/chromeos_export.h"
(...skipping 12 matching lines...) Expand all
23 // Magic e-mail addresses are bad. They exist here because some code already 23 // Magic e-mail addresses are bad. They exist here because some code already
24 // depends on them and it is hard to figure out what. Any user types added in 24 // depends on them and it is hard to figure out what. Any user types added in
25 // the future should be identified by a new |UserType|, not a new magic e-mail 25 // the future should be identified by a new |UserType|, not a new magic e-mail
26 // address. 26 // address.
27 // Username for Guest session user. 27 // Username for Guest session user.
28 CHROMEOS_EXPORT extern const char* kGuestUserName; 28 CHROMEOS_EXPORT extern const char* kGuestUserName;
29 29
30 // Domain that is used for all supervised users. 30 // Domain that is used for all supervised users.
31 CHROMEOS_EXPORT extern const char* kSupervisedUserDomain; 31 CHROMEOS_EXPORT extern const char* kSupervisedUserDomain;
32 32
33 // The retail mode user has a magic, domainless e-mail address.
34 CHROMEOS_EXPORT extern const char* kRetailModeUserName;
35
36 // Canonicalizes a GAIA user ID, accounting for the legacy guest mode user ID 33 // Canonicalizes a GAIA user ID, accounting for the legacy guest mode user ID
37 // which does trips up gaia::CanonicalizeEmail() because it does not contain an 34 // which does trips up gaia::CanonicalizeEmail() because it does not contain an
38 // @ symbol. 35 // @ symbol.
39 CHROMEOS_EXPORT std::string CanonicalizeUserID(const std::string& user_id); 36 CHROMEOS_EXPORT std::string CanonicalizeUserID(const std::string& user_id);
40 37
41 } // namespace login 38 } // namespace login
42 39
43 } // namespace chromeos 40 } // namespace chromeos
44 41
45 #endif // CHROMEOS_LOGIN_USER_NAMES_H_ 42 #endif // CHROMEOS_LOGIN_USER_NAMES_H_
OLDNEW
« no previous file with comments | « chromeos/login/login_state.cc ('k') | chromeos/login/user_names.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698