blob: 2592ddda6f0c6db6bcfb94cb1dbb7231993fe293 [file] [log] [blame]
[email protected]4ec7327e2008-08-18 23:59:511include_rules = [
[email protected]c2e2b6d2013-01-22 02:23:292 "+apps",
enne34f6084c2017-02-02 22:39:083 "+cc/paint",
Andrew Grieve4a42c22e2019-06-24 16:14:294 "+chrome/android/chrome_jni_headers",
5 "+chrome/android/features/autofill_assistant/jni_headers",
6 "+chrome/android/public/profiles/jni_headers",
[email protected]a8cf61b2009-02-05 17:41:387 "+chrome/app",
erikwright0cdddbff2015-03-12 18:05:348 "+chrome/chrome_watcher",
Tien Maib89c1402018-11-13 13:25:369 "+chrome/credential_provider/common",
thestig4a2e88e2016-08-27 23:23:5110 "+chrome/grit",
jwdc882e48d2016-08-19 00:14:4211 "+chrome/install_static",
grt6990ce312017-03-27 12:04:1712 "+chrome/installer/util",
Xi Chengb7c35726b2018-04-25 04:55:1413 "+chrome/notification_helper/notification_helper_constants.h",
Maggie Cai5e292d22019-03-11 22:58:2414 "+chrome/services/app_service/public/mojom",
Luum Habtemariam9d999932018-10-15 23:04:1215 "+chrome/services/cups_ipp_parser/public",
Luum Habtemariamc295b4ea2019-04-24 20:18:5116 "+chrome/services/cups_proxy",
Maksim Ivanov23e783072018-10-30 21:50:1417 "+chrome/services/diagnosticsd/public",
Jay Civelli8743364b2017-11-02 18:14:3618 "+chrome/services/file_util/public",
Jay Civelli069422f2017-11-10 18:55:5219 "+chrome/services/media_gallery_util/public",
Jay Civelli407c3fc2017-12-14 00:25:2720 "+chrome/services/printing/public",
Jay Civelli66e0d892017-12-05 01:05:1021 "+chrome/services/removable_storage_writer/public",
Jay Civelli446d1db2017-11-15 00:19:2622 "+chrome/services/util_win/public",
23 "+chrome/services/wifi_util_win/public",
[email protected]5cf19b92012-03-21 22:25:0524 "+chromeos",
brettwb1fc1b82016-02-02 00:19:0825 "+components",
Colin Blundellb0787232019-06-25 07:38:4826
27# Use identity_manager.h instead of the below files;
Colin Blundelld55fde82018-12-18 16:04:3728 # see https://groups.google.com/a/chromium.org/d/msg/chromium-dev/dgFLuxqZt1o/iEqkyoQQBwAJ for help and info.
Colin Blundellb0787232019-06-25 07:38:4829 "-components/signin/core/browser/account_fetcher_service.h",
30 "-components/signin/core/browser/account_info_fetcher.h",
31 "-components/signin/core/browser/account_tracker_service.h",
32 "-components/signin/core/browser/child_account_info_fetcher_android.h",
33 "-components/signin/core/browser/fake_profile_oauth2_token_service.h",
34 "-components/signin/core/browser/gaia_cookie_manager_service.h",
35 "-components/signin/core/browser/oauth2_token_service_delegate_android.h",
36 "-components/signin/core/browser/oauth2_multilogin_helper.h",
37 "-components/signin/core/browser/oauth2_multilogin_token_fetcher.h",
38 "-components/signin/core/browser/primary_account_manager.h",
39 "-components/signin/core/browser/primary_account_policy_manager.h",
40 "-components/signin/core/browser/profile_oauth2_token_service.h",
41 "-components/signin/core/browser/profile_oauth2_token_service_delegate_chromeos.h",
42 "-components/signin/core/browser/ubertoken_fetcher_impl.h",
43
[email protected]fd31c2212011-10-17 19:43:4344 "+content/public/browser",
Ke He0be22ba2017-12-18 05:12:3845 "+content/public/common",
[email protected]94a481b2014-03-28 19:41:5546 "+courgette",
alexis.menard2fe63eaa2016-10-13 21:42:4347 "+device/base",
[email protected]06af6a42012-12-14 00:16:4048 "+device/bluetooth",
Adam Langley573d3ac2018-04-28 00:32:1349 "+device/fido",
Matt Reynolds660a47752018-06-28 19:42:4850 "+device/gamepad/public/cpp",
Scott Violetc8240b02018-03-08 22:03:5951 "+device/vr/buildflags/buildflags.h",
Bill Orreb429222018-08-08 21:14:4352 "+device/vr/public",
[email protected]993da5e2013-03-23 21:25:1653 "+extensions/browser",
[email protected]885c0e92012-11-13 20:27:4254 "+extensions/common",
oshima758abebc2014-11-06 10:55:5055 "+extensions/components/javascript_dialog_extensions_client",
Scott Violetc8240b02018-03-08 22:03:5956 "+extensions/buildflags",
mukai4245dfe82014-09-05 17:40:5157 "+extensions/grit",
yoze8dc2f12014-09-09 23:16:3258 "+extensions/test",
[email protected]83c29502012-08-22 19:34:4859 "+google/cacheinvalidation", # Sync invalidation API protobuf files.
[email protected]6386cf52012-09-07 04:26:3760 "+google_apis",
[email protected]cec99842012-02-10 03:24:2361 "+google_update",
[email protected]b4d08ea2012-05-24 19:26:5762 "+installer_util_strings", # For generated headers
Ken Rockot388ba4fc2018-02-10 17:23:4163 "+mash/public/mojom",
Thomas Guilbert642e97d2019-03-27 23:33:3764 "+media/media_buildflags.h",
dalecurtis1620bd3a2015-04-28 20:26:2965 "+media/audio", # For media audio hang monitor.
[email protected]e2e8e322012-09-12 04:37:0266 "+media/base", # For media switches
chcunningham9205ea82018-07-12 18:04:2067 "+media/capabilities", # For InMemoryVideoDecodeStatsDB
xhwangc3a252b2016-05-23 02:35:4868 "+media/cdm/cdm_paths.h",
Xiangjun Zhang3aafe302018-02-07 20:10:4069 "+media/capture",
yhiranobbea6272015-09-17 07:09:0370 "+media/midi", # For midi switches
alokp6ecb2382016-01-27 00:40:0071 "+media/mojo", # For mojo media services.
Saman Sami2acabd12018-03-10 00:51:0972 "+media/renderers",
Alex Loiko66f63f5c2018-11-16 10:21:0673 "+media/webrtc", # For webrtc media switches.
[email protected]1b4209f2011-01-07 00:25:4074 "+ppapi/c", # For various types.
[email protected]b7631cc2012-09-15 05:08:3875 "+ppapi/host",
[email protected]709a847e2010-11-10 01:16:1176 "+ppapi/proxy",
[email protected]8ddc6b7c2013-12-12 20:42:0677 "+ppapi/shared_impl",
[email protected]5b7937e2010-11-04 23:37:1878 "+rlz",
[email protected]181491782012-07-18 00:59:1579 "+sandbox/win/src", # The path doesn't say it, but this is the Windows sandbox.
Olga Sharonovaa234a0a2018-02-16 11:12:2380 "+services/audio/public",
Ken Rockot80b08e92018-08-15 04:22:0281 "+services/content/simple_browser",
Jay Civellid8dc7c62017-11-02 02:10:4182 "+services/data_decoder/public",
Ke He0be22ba2017-12-18 05:12:3883 "+services/device/public",
Colin Blundelle89886a2017-06-12 11:26:5684 "+services/identity/public",
Andrew Moylan8ed9d83c82019-01-29 20:23:5285 "+services/image_annotation/public",
Becca Hughesf87f5252018-08-30 18:43:3686 "+services/media_session/public",
Steven Holtee830e7e2017-11-07 23:47:3087 "+services/metrics/metrics_mojo_service.h",
Mounir Lamourifd9dcefa2017-07-06 10:26:5588 "+services/metrics/public",
John Abd-El-Malek21bca7c2018-10-26 22:13:3389 "+services/network/cert_verifier_with_trust_anchors.h",
90 "+services/network/cert_verify_proc_chromeos.h",
John Abd-El-Malek89c02ae2018-02-01 01:56:1991 "+services/network/ignore_errors_cert_verifier.h",
John Abd-El-Malek8e82a322018-01-31 20:30:4792 "+services/network/network_service.h",
Ken Rockot7d0a5ff62018-04-26 21:46:5193 "+services/network/public",
Mark Pilgrim9c330c2212018-04-27 15:35:2794 "+services/network/test",
Matt Muellerdbc0aa72019-02-04 22:13:1895 "+services/network/trial_comparison_cert_verifier_mojo.h",
Mark Pilgrim9c330c2212018-04-27 15:35:2796 "+services/network/url_request_context_owner.h",
John Abd-El-Malek8e82a322018-01-31 20:30:4797 "+services/network/url_request_context_builder_mojo.h",
rockot905e3892017-02-18 10:47:1198 "+services/preferences/public/cpp",
Ken Rockotf7f533e2018-02-11 02:21:3399 "+services/preferences/public/mojom",
Jay Civelli2df24642017-10-09 20:22:28100 "+services/proxy_resolver", # Android runs the packaged proxy resolver
101 # service in process and needs impl access.
Ken Rockot26cf4742018-02-11 04:10:40102 "+services/proxy_resolver/public/mojom",
oysteine8c8d3b702017-05-18 15:18:17103 "+services/resource_coordinator/public/cpp",
Ken Rockot95c888a42018-02-11 05:54:11104 "+services/resource_coordinator/public/mojom",
Ken Rockotd7e999b2018-02-11 15:48:21105 "+services/shape_detection/public/mojom",
Ken Rockotcebdf9c82019-05-28 20:33:03106 "+services/strings",
Oystein Eftevaag424fd372019-06-07 17:51:03107 "+services/tracing/public/cpp",
Guido Urdaneta191635e2018-05-09 16:00:53108 "+services/video_capture/public",
Scott Violet703b8242019-06-11 19:34:36109 "+services/viz/public",
Saman Sami2acabd12018-03-10 00:51:09110 "+services/viz/privileged",
[email protected]5b7937e2010-11-04 23:37:18111 "+skia/ext",
tfarina29a3a1742016-10-28 18:47:33112 "+third_party/boringssl/src/include",
manzagopa5d6688d2016-10-25 20:16:03113 "+third_party/crashpad",
[email protected]4404e5b2011-08-16 19:08:46114 "+third_party/cros_system_api",
Steven Holtef9d5ed62017-10-21 02:02:30115 "+third_party/metrics_proto",
Xiaohan Wangf170c732018-09-27 05:45:26116 "+third_party/widevine/cdm/buildflags.h",
Xiaohan Wanga4e41842018-06-26 18:45:10117 "+third_party/widevine/cdm/widevine_cdm_common.h",
[email protected]895701a2012-09-13 10:07:34118
Scott Violet8ff9c302018-02-22 22:28:35119 # Code under //ash runs out-of-process in mash so it must be accessed via mojo
120 # interfaces in //ash/public/interfaces. See //ash/README.md.
jamescook1f91eac12017-05-30 17:27:32121 "-ash",
122 "+ash/public",
Darren Shen50e14952019-05-14 03:40:43123 "+ash/keyboard/ui/public",
124 "+ash/keyboard/ui/grit",
125 "+ash/keyboard/ui/public",
126 "+ash/keyboard/ui/resources",
Mike Wasserman1fff56852019-05-02 03:38:40127 "+ash/components/shortcut_viewer",
jamescook1f91eac12017-05-30 17:27:32128
Evan Stade30e7ed22019-06-11 21:43:54129 # The message center should only be accessed through
130 # //chrome/browser/notifications.
Evan Stade196ec042018-03-13 19:44:36131 "-ui/message_center",
132 "+ui/message_center/public",
133
[email protected]1249f322013-10-23 21:03:16134 # chrome only needs switches from cc. All usage of the compositor is from
135 # content. Definitely don't include generic stuff from cc/base here, if this
136 # is needed these files need to move to base/
137 "+cc/base/switches.h",
138
[email protected]bbe2f512013-08-16 12:54:39139 # Unsafe to use from //chrome, see http://goo.gl/QQG5wo
140 "-content/public/test/test_browser_context.h",
141
pilgrime92c5fcd2014-09-10 23:31:23142 "+storage/browser",
pilgrim16330552014-09-10 01:32:22143 "+storage/common",
[email protected]c4298d02013-05-20 05:42:52144
[email protected]81963ad2012-05-17 19:25:03145 "-chrome/browser/ui/views",
Greg Thompson0d974c42017-11-03 16:17:26146 "+chrome/browser/ui/views/ash/chrome_browser_main_extra_parts_ash.h",
[email protected]e8b6ca02013-07-10 18:00:51147 "+chrome/browser/ui/views/chrome_browser_main_extra_parts_views.h",
estaded3aa0e82016-02-17 22:55:21148 "+chrome/browser/ui/views/chrome_browser_main_extra_parts_views_linux.h",
Maksim Sisov1f2f2e62019-05-08 07:56:22149 "+chrome/browser/ui/views/chrome_browser_main_extra_parts_views_linux_x11.h",
ananta5ecf11b2017-04-29 00:45:10150 "+chrome/browser/ui/views/extensions/request_file_system_dialog_view.h",
Greg Thompson0d974c42017-11-03 16:17:26151 "+chrome/browser/ui/views/try_chrome_dialog_win/try_chrome_dialog.h",
[email protected]81963ad2012-05-17 19:25:03152
Sebastien Marchandf466c532019-06-04 20:09:48153 # Ensure that only the public interface of performance_manager gets used.
154 "-chrome/browser/performance_manager",
155 "+chrome/browser/performance_manager/public",
156 "+chrome/browser/performance_manager/chrome_browser_main_extra_parts_performance_manager.h",
157 "+chrome/browser/performance_manager/chrome_content_browser_client_performance_manager_part.h",
158 "+chrome/browser/performance_manager/performance_manager.h",
159 "+chrome/browser/performance_manager/performance_manager_tab_helper.h",
160
boliu60df2072015-10-26 22:55:19161 # Explicitly disallow using SyncMessageFilter to prevent browser from
162 # sending synchronous IPC messages on non-UI threads.
163 "-ipc/ipc_sync_message_filter.h",
164
mmenkef73a5122017-07-13 23:27:39165 # Allows in-process use of NetworkService for URLRequestContext configuration.
166 # Should be removed once the actual network service ships.
167 "+content/public/network",
168
[email protected]4ec7327e2008-08-18 23:59:51169 # Other libraries.
tfarinac28691d2015-07-23 19:22:51170 "+libxml",
[email protected]17a444c2014-06-24 01:44:32171 "+third_party/google_toolbox_for_mac/src",
[email protected]8bbf6192013-07-18 11:14:04172 "+third_party/icu/source/common/unicode",
173 "+third_party/icu/source/i18n/unicode",
[email protected]f82ef062012-04-27 17:52:54174 "+third_party/leveldatabase",
tfarinac28691d2015-07-23 19:22:51175 "+third_party/libxml",
[email protected]17a444c2014-06-24 01:44:32176 "+third_party/mozilla", # Mozilla interface headers.
miguelgdbb2e232016-10-14 18:50:13177 "+third_party/ocmock/gtest_support.h",
[email protected]3828d6f2011-02-24 18:32:21178 "+third_party/protobuf/src/google/protobuf",
[email protected]4728ca82012-08-24 10:39:59179 "+third_party/re2",
[email protected]b84ee6e2014-03-15 22:51:54180 "+third_party/smhasher",
[email protected]2b733b32011-09-22 06:18:24181 "+third_party/sqlite",
[email protected]537c638d2013-07-04 00:49:19182 "+third_party/zlib",
[email protected]af6e0752013-06-21 15:50:38183
Kinuko Yasuda20083062018-02-10 02:13:30184 # No inclusion of WebKit from the browser, other than the ones in
Kinuko Yasuda6f031052018-02-19 15:25:27185 # WebKit/public/{mojom,common}, or the ones that are strictly enum/POD,
[email protected]af6e0752013-06-21 15:50:38186 # header-only types, and some selected common code.
Blink Reformata30d4232018-04-07 15:31:06187 "-third_party/blink",
188 "+third_party/blink/public/common",
189 "+third_party/blink/public/mojom",
190 "+third_party/blink/public/platform/web_cache.h",
Blink Reformata30d4232018-04-07 15:31:06191 "+third_party/blink/public/platform/web_loading_behavior_flag.h",
192 "+third_party/blink/public/platform/web_gesture_event.h",
193 "+third_party/blink/public/platform/web_input_event.h",
194 "+third_party/blink/public/platform/web_mouse_event.h",
195 "+third_party/blink/public/platform/web_mouse_wheel_event.h",
Aldo Culquicondor53195552018-06-19 21:53:13196 "+third_party/blink/public/platform/web_touch_event.h",
Blink Reformata30d4232018-04-07 15:31:06197 "+third_party/blink/public/platform/web_security_style.h",
Katie D8236c3a32018-04-24 18:49:27198 "+third_party/blink/public/platform/web_speech_synthesis_constants.h",
Blink Reformata30d4232018-04-07 15:31:06199 "+third_party/blink/public/platform/web_sudden_termination_disabler_type.h",
200 "+third_party/blink/public/platform/modules/notifications/web_notification_constants.h",
Blink Reformata30d4232018-04-07 15:31:06201 "+third_party/blink/public/public_buildflags.h",
202 "+third_party/blink/public/web/web_context_menu_data.h",
Dave Tapuska3ed44192018-05-01 18:53:30203 "+third_party/blink/public/web/web_fullscreen_options.h",
Blink Reformata30d4232018-04-07 15:31:06204 "+third_party/blink/public/web/web_media_player_action.h",
205 "+third_party/blink/public/web/web_plugin_action.h",
206 "+third_party/blink/public/web/web_presentation_receiver_flags.h",
207 "+third_party/blink/public/web/web_text_direction.h",
208 "+third_party/blink/public/web/web_triggering_event_info.h",
[email protected]4ec7327e2008-08-18 23:59:51209]
Scott Violetd4b21d252017-08-11 17:27:36210
jamescook1f91eac12017-05-30 17:27:32211specific_include_rules = {
Scott Violet0eea3b22018-05-05 16:50:06212 "ash_service_registry\.cc": [
Scott Violet7eb50d22018-05-04 17:12:18213 "+ash/ash_service.h",
214 ],
Christopher Cameron936b0a192018-10-08 20:22:35215 "platform_util_mac.mm": [
216 # The following is used to forward methods to an NSWindow in another
217 # process, via the views::Widget API.
218 "+ui/views/widget/widget.h",
219 ],
Steven Bennetts26121cb2018-06-25 20:54:40220 # TODO(mash): Fix. https://crbug.com/768439, https://crbug.com/768395.
Scott Violet737fb752018-04-11 15:35:22221 "exo_parts\.cc": [
222 "+ash/shell.h",
223 ],
jamescook1f91eac12017-05-30 17:27:32224 # TODO(mash): Remove. http://crbug.com/678705
225 "fullscreen_chromeos\.cc": [
226 "+ash/root_window_controller.h",
227 "+ash/shell.h",
Scott Violet776edf82017-09-29 02:03:01228 ],
Evan Stade196ec042018-03-13 19:44:36229 # TODO(estade): the message center is initialized and shut down here, but it
230 # should be the responsibility of code in chrome/browser/notifications/
231 "browser_process_impl.cc": [
232 "+ui/message_center/message_center.h",
233 ],
Lukasz Anforowicz23f6bc712019-02-25 20:05:57234 # To share values of UMA enums between product code and tests.
235 "translate_manager_browsertest.cc": [
236 "+services/network/initiator_lock_compatibility.h",
237 ],
Darren Shen50e14952019-05-14 03:40:43238 "input_method_manager_impl.cc": [
Darren Shencb2508442019-07-03 21:48:23239 "+ash/keyboard/ui/keyboard_ui_controller.h",
Darren Shen50e14952019-05-14 03:40:43240 ],
Robbie McElratheeebbf92019-06-13 17:37:13241 "chrome_browsing_data_remover_delegate_unittest.cc": [
242 "+services/network/network_context.h",
243 "+services/network/network_service.h",
244 ],
jamescook1f91eac12017-05-30 17:27:32245}