Lines Matching defs:UserManager
26 class USER_MANAGER_EXPORT UserManager {
28 // Interface that observers of UserManager must implement in order
33 virtual void LocalStateChanged(UserManager* user_manager);
39 // TODO(nkostylev): Refactor and move this observer out of UserManager.
77 // Initializes UserManager instance to this. Normally should be called right
78 // after creation so that user_manager::UserManager::Get() doesn't fail.
79 // Tests could call this method if they are replacing existing UserManager
83 // Checks whether the UserManager instance has been created already.
87 // Shuts down the UserManager. After this method has been called, the
93 // Sets UserManager instance to NULL. Always call Shutdown() first.
97 // Returns UserManager instance or will crash if it is |NULL| (has either not
100 static UserManager* Get();
102 virtual ~UserManager();
300 // Sets UserManager instance.
301 static void SetInstance(UserManager* user_manager);
303 // Pointer to the existing UserManager instance (if any).
305 // Not owned since specific implementation of UserManager should decide on its
308 static UserManager* instance;
314 static UserManager* GetForTesting();
316 // Sets UserManager instance to the given |user_manager|.
318 static UserManager* SetForTesting(UserManager* user_manager);