1 include_rules = [ 2 "+base", 3 "+content/public/app", 4 "+content/public/browser", 5 "+content/public/common", 6 "+content/public/test", 7 "+components/keyed_service", 8 "+components/pref_registry/pref_registry_syncable.h", 9 "+components/web_modal", 10 "+extensions", 11 "+net/base", 12 "+skia/ext", 13 "+third_party/skia/include", 14 "+ui", 15 "+win8", 16 17 # Temporary allowed includes. 18 # TODO(benwells): remove these (http://crbug.com/159366) 19 "+chrome/browser/chrome_notification_types.h", 20 "+chrome/browser/chromeos/file_manager/filesystem_api_util.h", 21 "+chrome/browser/chromeos/login/users/user_manager.h", 22 "+chrome/browser/lifetime/application_lifetime.h", 23 "+chrome/browser/profiles", 24 "+chrome/browser/sessions/session_id.h", 25 "+chrome/common/chrome_switches.h", 26 27 # For default app icon. 28 "!grit/theme_resources.h", 29 30 # Pieces of the extensions system that need to move to src/extensions. 31 # See http://crbug.com/162530 for details. 32 "+chrome/browser/extensions/api/file_handlers/app_file_handler_util.h", 33 "+chrome/browser/extensions/api/file_system/file_system_api.h", 34 "+chrome/browser/extensions/chrome_extension_web_contents_observer.h", 35 "+chrome/browser/extensions/suggest_permission_util.h", 36 "+chrome/browser/extensions/unpacked_installer.h", 37 "+chrome/common/extensions/api/app_window.h", 38 ] 39 40 specific_include_rules = { 41 # Needs to be able to reload extensions. http://crbug.com/162530 42 "app_load_service\.cc": [ 43 "+chrome/browser/extensions/extension_service.h", 44 ], 45 "(.*test\.cc|.*test_mac\.mm)": [ 46 "+chrome/browser/browser_shutdown.h", 47 "+chrome/browser/extensions/extension_browsertest.h", 48 "+chrome/browser/extensions/extension_test_message_listener.h", 49 "+chrome/browser/extensions/test_extension_environment.h", 50 "+chrome/browser/extensions/test_extension_prefs.h", 51 "+chrome/browser/ui/browser.h", 52 "+chrome/test/base/in_process_browser_test.h", 53 "+chrome/test/base/interactive_test_utils.h", 54 "+chrome/test/base/testing_profile.h", 55 # Temporary allowed testing include. 56 # TODO(benwells): Move app_browsertest_util into apps component once there 57 # is an apps shell to test with. 58 "+chrome/browser/apps/app_browsertest_util.h", 59 ] 60 } 61