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

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

Issue 14927015: Translate device-local account IDs to user IDs (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Fix forward declaration. Created 7 years, 7 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 | Annotate | Revision Log
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_H_ 5 #ifndef CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_H_
6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_H_ 6 #define CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_H_
7 7
8 #include <string> 8 #include <string>
9 9
10 #include "chrome/browser/chromeos/login/user.h" 10 #include "chrome/browser/chromeos/login/user.h"
(...skipping 52 matching lines...) Expand 10 before | Expand all | Expand 10 after
63 // Magic e-mail addresses are bad. They exist here because some code already 63 // Magic e-mail addresses are bad. They exist here because some code already
64 // depends on them and it is hard to figure out what. Any user types added in 64 // depends on them and it is hard to figure out what. Any user types added in
65 // the future should be identified by a new |UserType|, not a new magic e-mail 65 // the future should be identified by a new |UserType|, not a new magic e-mail
66 // address. 66 // address.
67 // Username for Guest session user. 67 // Username for Guest session user.
68 static const char kGuestUserName[]; 68 static const char kGuestUserName[];
69 69
70 // Domain that is used for all locally managed users. 70 // Domain that is used for all locally managed users.
71 static const char kLocallyManagedUserDomain[]; 71 static const char kLocallyManagedUserDomain[];
72 72
73 // Domain that is used for kiosk app robot.
74 static const char kKioskAppUserDomain[];
75
76 // The retail mode user has a magic, domainless e-mail address. 73 // The retail mode user has a magic, domainless e-mail address.
77 static const char kRetailModeUserName[]; 74 static const char kRetailModeUserName[];
78 75
79 // Creates the singleton instance. This method is not thread-safe and must be 76 // Creates the singleton instance. This method is not thread-safe and must be
80 // called from the main UI thread. 77 // called from the main UI thread.
81 static void Initialize(); 78 static void Initialize();
82 79
83 // Checks whether the singleton instance has been created already. This method 80 // Checks whether the singleton instance has been created already. This method
84 // is not thread-safe and must be called from the main UI thread. 81 // is not thread-safe and must be called from the main UI thread.
85 static bool IsInitialized(); 82 static bool IsInitialized();
(...skipping 266 matching lines...) Expand 10 before | Expand all | Expand 10 after
352 ScopedTestUserManager(); 349 ScopedTestUserManager();
353 ~ScopedTestUserManager(); 350 ~ScopedTestUserManager();
354 351
355 private: 352 private:
356 DISALLOW_COPY_AND_ASSIGN(ScopedTestUserManager); 353 DISALLOW_COPY_AND_ASSIGN(ScopedTestUserManager);
357 }; 354 };
358 355
359 } // namespace chromeos 356 } // namespace chromeos
360 357
361 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_H_ 358 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_H_
OLDNEW
« no previous file with comments | « chrome/browser/chromeos/login/login_performer.cc ('k') | chrome/browser/chromeos/login/user_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698