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