tree: 20870dc16c31041ed1e6e76009ecdc8a4aee1768 [path history] [tgz]
  1. accessibility/
  2. account_manager/
  3. android_sms/
  4. app_mode/
  5. apps/
  6. arc/
  7. attestation/
  8. authpolicy/
  9. base/
  10. certificate_provider/
  11. child_accounts/
  12. crostini/
  13. cryptauth/
  14. customization/
  15. dbus/
  16. device_sync/
  17. diagnosticsd/
  18. display/
  19. drive/
  20. events/
  21. extensions/
  22. file_manager/
  23. file_system_provider/
  24. fileapi/
  25. first_run/
  26. hats/
  27. input_method/
  28. launcher_search_provider/
  29. lock_screen_apps/
  30. login/
  31. mobile/
  32. multidevice_setup/
  33. net/
  34. night_light/
  35. ownership/
  36. platform_keys/
  37. policy/
  38. power/
  39. prefs/
  40. printing/
  41. profiles/
  42. reset/
  43. resource_reporter/
  44. secure_channel/
  45. settings/
  46. smb_client/
  47. status/
  48. system/
  49. system_logs/
  50. tether/
  51. ui/
  52. virtual_machines/
  53. account_mapper_util.cc
  54. account_mapper_util.h
  55. boot_times_recorder.cc
  56. boot_times_recorder.h
  57. BUILD.gn
  58. camera_detector.cc
  59. camera_detector.h
  60. camera_presence_notifier.cc
  61. camera_presence_notifier.h
  62. chrome_browser_main_chromeos.cc
  63. chrome_browser_main_chromeos.h
  64. chrome_content_browser_client_chromeos_part.cc
  65. chrome_content_browser_client_chromeos_part.h
  66. chrome_service_name.cc
  67. chrome_service_name.h
  68. DEPS
  69. eol_notification.cc
  70. eol_notification.h
  71. external_metrics.cc
  72. external_metrics.h
  73. external_metrics_unittest.cc
  74. external_protocol_dialog.cc
  75. external_protocol_dialog.h
  76. idle_detector.cc
  77. idle_detector.h
  78. language_preferences.cc
  79. language_preferences.h
  80. launchable.cc
  81. launchable.h
  82. locale_change_guard.cc
  83. locale_change_guard.h
  84. locale_change_guard_unittest.cc
  85. logging.cc
  86. logging.h
  87. mobile_config.cc
  88. mobile_config.h
  89. mobile_config_unittest.cc
  90. network_change_manager_client.cc
  91. network_change_manager_client.h
  92. network_change_manager_client_browsertest.cc
  93. network_change_manager_client_unittest.cc
  94. note_taking_controller_client.cc
  95. note_taking_controller_client.h
  96. note_taking_helper.cc
  97. note_taking_helper.h
  98. note_taking_helper_unittest.cc
  99. oauth2_token_service_delegate.cc
  100. oauth2_token_service_delegate.h
  101. oauth2_token_service_delegate_unittest.cc
  102. OWNERS
  103. preferences.cc
  104. preferences.h
  105. preferences_chromeos_browsertest.cc
  106. preferences_unittest.cc
  107. proxy_config_service_impl_unittest.cc
  108. proxy_cros_settings_parser.cc
  109. proxy_cros_settings_parser.h
  110. README.md
  111. scoped_set_running_on_chromeos_for_testing.cc
  112. scoped_set_running_on_chromeos_for_testing.h
  113. session_length_limiter.cc
  114. session_length_limiter.h
  115. session_length_limiter_unittest.cc
  116. set_time_dialog.cc
  117. set_time_dialog.h
  118. shutdown_policy_browsertest.cc
  119. tpm_firmware_update.cc
  120. tpm_firmware_update.h
  121. tpm_firmware_update_notification.cc
  122. tpm_firmware_update_notification.h
  123. tpm_firmware_update_unittest.cc
chrome/browser/chromeos/README.md

chrome/browser/chromeos

This directory should contain non UI Chrome OS specific code that has src/chrome dependencies.

Code here should not contain any ash/ dependencies or chrome/browser/ui dependencies. Any such UI code should be moved to chrome/browser/ui/ash (which may depend on code in this directory).

Example:

  • The Chrome OS network portal detection model lives in chrome/browser/chromeos/net/network_portal_detector_impl.cc.

  • The notification controller for network portal detection lives in: chrome/browser/ui/ash/network/network_portal_notification_controller.cc (which depends on chrome/browser/ui, ash/public/cpp/vector_icons/vector_icons.h, and chrome/browser/chromeos/net/network_portal_detector_impl.h.