tree: 48bf2fbab3e38211d6a5f265cdfffdc76b6e8fd7 [path history] [tgz]
  1. BUILD.gn
  2. crd_admin_session_controller.cc
  3. crd_admin_session_controller.h
  4. crd_admin_session_controller_unittest.cc
  5. crd_logging.h
  6. crd_oauth_token_fetcher.cc
  7. crd_oauth_token_fetcher.h
  8. crd_remote_command_utils.cc
  9. crd_remote_command_utils.h
  10. crd_session_observer.h
  11. crd_support_host_observer_proxy.cc
  12. crd_support_host_observer_proxy.h
  13. crd_uma_logger.cc
  14. crd_uma_logger.h
  15. device_command_fetch_crd_availability_info_job.cc
  16. device_command_fetch_crd_availability_info_job.h
  17. device_command_fetch_crd_availability_info_job_unittest.cc
  18. device_command_start_crd_session_job.cc
  19. device_command_start_crd_session_job.h
  20. device_command_start_crd_session_job_unittest.cc
  21. fake_start_crd_session_job_delegate.cc
  22. fake_start_crd_session_job_delegate.h
  23. OWNERS
  24. README.md
  25. remote_activity_notification_controller.cc
  26. remote_activity_notification_controller.h
  27. start_crd_session_job_delegate.cc
  28. start_crd_session_job_delegate.h
chrome/browser/ash/policy/remote_commands/crd/README.md

Chrome Remote Desktop

This directory contains the code that controls the remote admin triggered Chrome Remote Desktop (CRD) sessions.

These sessions are started through a remote command (sent from the DPanel devices page).

Remote Commands

There are 2 remote commands involved in starting CRD sessions:

  • FETCH_CRD_AVAILABILITY_INFO: This command queries the state of the device, and returns if CRD sessions are possible and if not, why.
  • START_CRD_SESSION: This command actually starts a CRD session.

Public APIs

The public API of this folder exists out of 3 classes:

  • DeviceCommandFetchCrdAvailabilityInfoJob: The RemoteCommandJob that handles the FETCH_CRD_AVAILABILITY_INFO remote command.
  • DeviceCommandStartCrdSessionJob: The RemoteCommandJob that handles the START_CRD_SESSION remote command.
  • CrdAdminSessionController: The long-lived controller that keeps track of the currently active CRD session.