include_rules = [ # Do not add Chrome dependencies. Much work went into removing them. "+components/browsing_data", "+components/crx_file", "+components/guest_view", "+components/url_matcher", "-content", "+content/grit/content_resources.h", "+content/public/common", "+content/public/test", "+crypto", "-extensions/components", "+extensions/test", "+grit/extensions_renderer_resources.h", "+grit/extensions_resources.h", "+mojo/public", "+testing", "+third_party/skia/include", # Minimal UI dependencies. There are two good rules for UI dependencies here: # # 1) UI components should only be added as they are needed, and # 2) if //content doesn't allow it, //extensions probably won't allow it. # (see for example ui/views) "-ui", "+ui/base", "+ui/gfx", "+ui/events", # NOTE: Please do not add includes without talking to the app shell team; # see OWNERS for this directory. ] specific_include_rules = { ".*(test|test_util)\.(cc|h)$": [ "+content/public/test", # Temporarily allowed testing includes. See above. # TODO(jamescook): Remove these. http://crbug.com/162530 "+chrome/browser/apps/app_browsertest_util.h", "+chrome/browser/extensions/api/management/management_api.h", "+chrome/browser/extensions/api/permissions/permissions_api.h", "+chrome/browser/extensions/extension_apitest.h", "+chrome/browser/extensions/extension_function_test_utils.h", "+chrome/browser/extensions/extension_service.h", "+chrome/browser/extensions/extension_service_test_base.h", "+chrome/browser/extensions/extension_test_message_listener.h", "+chrome/browser/extensions/test_extension_dir.h", "+chrome/browser/extensions/test_extension_prefs.h", "+chrome/browser/extensions/test_extension_system.h", "+chrome/browser/ui/browser.h", "+chrome/common/chrome_switches.h", "+chrome/common/extensions/features/feature_channel.h", "+chrome/test/base/chrome_render_view_test.h", "+chrome/test/base/testing_profile.h", "+chrome/test/base/ui_test_utils.h", ], }