tree: 531d19b9c4078b669d034d57a235ef04d7a543e0 [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. OWNERS
  10. README.md
  11. remove_user_delegate.h
  12. scoped_user_manager.cc
  13. scoped_user_manager.h
  14. user.cc
  15. user.h
  16. user_info.cc
  17. user_info.h
  18. user_info_impl.cc
  19. user_info_impl.h
  20. user_manager.cc
  21. user_manager.h
  22. user_manager_base.cc
  23. user_manager_base.h
  24. user_manager_export.h
  25. user_names.cc
  26. user_names.h
  27. user_type.h
  28. 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.