blob: 4d7691b779ec65e0d04062de6919c980f619d405 [file] [log] [blame]
include_rules = [
"+components/crash/content/browser/error_reporting",
"+extensions/strings/grit/extensions_strings.h",
"+services/network/public",
"+third_party/ink/grit",
"+ui/base",
# For access to testing command line switches.
"+ppapi/shared_impl",
# The extensions system should not depend on Chrome Platform Apps (or any
# other component of the apps system).
# https://crbug.com/873872.
"-chrome/browser/apps",
]
specific_include_rules = {
".*test(_chromeos)?\.(cc|h)$": [
# For now, tests are allowed to depend on app_browsertest_util.h, since
# that's where PlatformAppBrowserTest is defined. Ideally, we'd eventually
# move all Platform App-specific tests to chrome/browser/apps/platform_apps.
"+chrome/browser/apps/platform_apps/app_browsertest_util.h",
],
"extension_protocols_unittest\.cc": [
"+services/network/test",
],
"extension_gcm_app_handler_unittest\.cc": [
"+services/network/test",
],
"zipfile_installer_unittest.cc": [
"+services/data_decoder",
],
"test_extension_system.cc": [
"+services/data_decoder",
],
"updater/extension_updater_unittest\.cc": [
"+services/network/test",
],
"chrome_extension_cookies\.h": [
# TODO(crbug.com/1049894): Remove.
"+services/network/cookie_settings.h",
],
"chrome_extension_cookies\.cc": [
# TODO(crbug.com/1049894): Remove.
"+services/network/cookie_manager.h",
"+services/network/restricted_cookie_manager.h",
],
"webstore_private_apitest.cc" : [
# TODO(crbug/1095814): Remove this layering violation.
"+chrome/browser/ui/views/supervised_user/parent_permission_dialog_view.h",
],
# This DEPS violation snuck in while there was a bug in the checkdeps tool.
# https://crbug.com/1084826
"browsertest_util\.cc": [
"+chrome/browser/apps/app_service/app_launch_params.h",
"+chrome/browser/apps/app_service/app_service_proxy.h",
"+chrome/browser/apps/app_service/app_service_proxy_factory.h",
"+chrome/browser/apps/app_service/browser_app_launcher.h",
],
# This DEPS violation snuck in while there was a bug in the checkdeps tool.
# https://crbug.com/1084826
"chrome_extension_host_delegate\.cc": [
"+chrome/browser/apps/platform_apps/audio_focus_web_contents_observer.h",
],
# This DEPS violation snuck in while there was a bug in the checkdeps tool.
# https://crbug.com/1084826
"corb_and_cors_extension_browsertest\.cc": [
"+chrome/browser/apps/app_service/app_launch_params.h",
"+chrome/browser/apps/app_service/app_service_proxy.h",
"+chrome/browser/apps/app_service/app_service_proxy_factory.h",
"+chrome/browser/apps/app_service/browser_app_launcher.h",
],
# This DEPS violation snuck in while there was a bug in the checkdeps tool.
# https://crbug.com/1084826
"extension_apitest\.cc": [
"+chrome/browser/apps/app_service/app_launch_params.h",
"+chrome/browser/apps/app_service/app_service_proxy.h",
"+chrome/browser/apps/app_service/app_service_proxy_factory.h",
"+chrome/browser/apps/app_service/browser_app_launcher.h",
],
# This DEPS violation snuck in while there was a bug in the checkdeps tool.
# https://crbug.com/1084826
"extension_browser_window_helper\.cc": [
"+chrome/browser/apps/app_service/launch_utils.h",
],
# This DEPS violation snuck in while there was a bug in the checkdeps tool.
# https://crbug.com/1084826
"extension_browsertest\.cc": [
"+chrome/browser/apps/app_service/app_launch_params.h",
"+chrome/browser/apps/app_service/app_service_proxy.h",
"+chrome/browser/apps/app_service/app_service_proxy_factory.h",
"+chrome/browser/apps/app_service/browser_app_launcher.h",
],
# This DEPS violation snuck in while there was a bug in the checkdeps tool.
# https://crbug.com/1084826
"external_pref_loader\.cc": [
"+chrome/browser/apps/user_type_filter.h",
],
}