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