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

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 browser_tests. 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 45 matching lines...) Expand 10 before | Expand all | Expand 10 after
56 protected: 56 protected:
57 virtual ~UserSessionStateObserver(); 57 virtual ~UserSessionStateObserver();
58 }; 58 };
59 59
60 // Username for stub login when not running on ChromeOS. 60 // Username for stub login when not running on ChromeOS.
61 static const char kStubUser[]; 61 static const char kStubUser[];
62 62
63 // Domain that is used for all locally managed users. 63 // Domain that is used for all locally managed users.
64 static const char kLocallyManagedUserDomain[]; 64 static const char kLocallyManagedUserDomain[];
65 65
66 // Domain that is used for kiosk app robot.
67 static const char kKioskAppUserDomain[];
68
69 // Creates the singleton instance. This method is not thread-safe and must be 66 // Creates the singleton instance. This method is not thread-safe and must be
70 // called from the main UI thread. 67 // called from the main UI thread.
71 static void Initialize(); 68 static void Initialize();
72 69
73 // Checks whether the singleton instance has been created already. This method 70 // Checks whether the singleton instance has been created already. This method
74 // is not thread-safe and must be called from the main UI thread. 71 // is not thread-safe and must be called from the main UI thread.
75 static bool IsInitialized(); 72 static bool IsInitialized();
76 73
77 // Shuts down the UserManager. After this method has been called, the 74 // Shuts down the UserManager. After this method has been called, the
78 // singleton has unregistered itself as an observer but remains available so 75 // singleton has unregistered itself as an observer but remains available so
(...skipping 258 matching lines...) Expand 10 before | Expand all | Expand 10 after
337 ScopedTestUserManager(); 334 ScopedTestUserManager();
338 ~ScopedTestUserManager(); 335 ~ScopedTestUserManager();
339 336
340 private: 337 private:
341 DISALLOW_COPY_AND_ASSIGN(ScopedTestUserManager); 338 DISALLOW_COPY_AND_ASSIGN(ScopedTestUserManager);
342 }; 339 };
343 340
344 } // namespace chromeos 341 } // namespace chromeos
345 342
346 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_H_ 343 #endif // CHROME_BROWSER_CHROMEOS_LOGIN_USER_MANAGER_H_
OLDNEW

Powered by Google App Engine
This is Rietveld 408576698