tree: 47494f064b86c497ca5edc4e59a2e59963c17b99 [path history] [tgz]
  1. user_image/
  2. BUILD.gn
  3. DEPS
  4. fake_user_manager.cc
  5. fake_user_manager.h
  6. known_user.cc
  7. known_user.h
  8. OWNERS
  9. README.md
  10. remove_user_delegate.h
  11. scoped_user_manager.cc
  12. scoped_user_manager.h
  13. user.cc
  14. user.h
  15. user_info.cc
  16. user_info.h
  17. user_info_impl.cc
  18. user_info_impl.h
  19. user_manager.cc
  20. user_manager.h
  21. user_manager_base.cc
  22. user_manager_base.h
  23. user_manager_export.h
  24. user_names.cc
  25. user_names.h
  26. user_type.h
  27. user_unittest.cc
components/user_manager/README.md

UserManager

This directory contains files for managing ChromeOS users. Historically, the code manages both user and user sessions. There is an on-going effort to move user session related code into //components/session_manager.

UserManager is the interface for managing ChromeOS users. UserManagerBase is a base implementation of the interface. There is also a UserManagerInterface in Chrome code that provides additional UserManager interface that deals with policy. ChromeUserManager inherits UserManagerBase and UserManagerInterface it provide a base implementation. Finally, the concrete instance used is ChromeUserManagerImpl derived from ChromeUserManager.

ChromeUserManagerImpl is created at the PreProfileInit stage and destroyed at the PostMainMessageLoopRun stage, via BrowserProcessPlatformPart::InitializeChromeUserManager() and BrowserProcessPlatformPart::DestroyChromeUserManager.