tree: 5937176d2c6acf8432f675bc80f1621e07ad3dc9 [path history] [tgz]
  1. user_image/
  2. BUILD.gn
  3. DEPS
  4. DIR_METADATA
  5. fake_user_manager.cc
  6. fake_user_manager.h
  7. known_user.cc
  8. known_user.h
  9. known_user_unittest.cc
  10. OWNERS
  11. README.md
  12. remove_user_delegate.h
  13. scoped_user_manager.cc
  14. scoped_user_manager.h
  15. user.cc
  16. user.h
  17. user_info.cc
  18. user_info.h
  19. user_info_impl.cc
  20. user_info_impl.h
  21. user_manager.cc
  22. user_manager.h
  23. user_manager_base.cc
  24. user_manager_base.h
  25. user_manager_export.h
  26. user_names.cc
  27. user_names.h
  28. user_type.h
  29. 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.