tree: 8d2a109d522a77f29f14ef7e499d2fc2a08bcba2 [path history] [tgz]
  1. BUILD.gn
  2. DEPS
  3. OWNERS
  4. README.md
  5. accessibility/
  6. app_mode/
  7. apps/
  8. arc/
  9. ash_config.cc
  10. ash_config.h
  11. attestation/
  12. authpolicy/
  13. base/
  14. boot_times_recorder.cc
  15. boot_times_recorder.h
  16. camera_detector.cc
  17. camera_detector.h
  18. camera_presence_notifier.cc
  19. camera_presence_notifier.h
  20. certificate_provider/
  21. child_accounts/
  22. chrome_browser_main_chromeos.cc
  23. chrome_browser_main_chromeos.h
  24. chrome_content_browser_client_chromeos_part.cc
  25. chrome_content_browser_client_chromeos_part.h
  26. chrome_service_name.cc
  27. chrome_service_name.h
  28. crostini/
  29. cryptauth/
  30. customization/
  31. dbus/
  32. device_sync/
  33. display/
  34. drive/
  35. eol_notification.cc
  36. eol_notification.h
  37. events/
  38. extensions/
  39. external_metrics.cc
  40. external_metrics.h
  41. external_metrics_unittest.cc
  42. external_protocol_dialog.cc
  43. external_protocol_dialog.h
  44. file_manager/
  45. file_system_provider/
  46. fileapi/
  47. first_run/
  48. genius_app/
  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. net/
  70. night_light/
  71. note_taking_controller_client.cc
  72. note_taking_controller_client.h
  73. note_taking_helper.cc
  74. note_taking_helper.h
  75. note_taking_helper_unittest.cc
  76. oauth2_token_service_delegate.cc
  77. oauth2_token_service_delegate.h
  78. oauth2_token_service_delegate_unittest.cc
  79. options/
  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. session_length_limiter.cc
  99. session_length_limiter.h
  100. session_length_limiter_unittest.cc
  101. set_time_dialog.cc
  102. set_time_dialog.h
  103. settings/
  104. shutdown_policy_browsertest.cc
  105. smb_client/
  106. status/
  107. system/
  108. system_logs/
  109. tether/
  110. tpm_firmware_update.cc
  111. tpm_firmware_update.h
  112. tpm_firmware_update_unittest.cc
  113. ui/
  114. upgrade_detector_chromeos.cc
  115. upgrade_detector_chromeos.h
  116. 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.