OLD | NEW |
(Empty) | |
| 1 # The //chrome/browser/policy code is being converted into a component at |
| 2 # //components/policy. This DEPS file is temporarily restricting the include |
| 3 # rules for this code; once all the exceptions are fixed then the code will |
| 4 # be moved, and this file will be removed. |
| 5 # http://crbug.com/271392 |
| 6 |
| 7 include_rules = [ |
| 8 "-chrome", |
| 9 "-chromeos", |
| 10 "-content", |
| 11 "+chrome/browser/policy", |
| 12 ] |
| 13 |
| 14 specific_include_rules = { |
| 15 # These files will stay. |
| 16 r"(browser_policy_connector|" |
| 17 r"managed_mode_policy_provider|" |
| 18 r"policy_browsertest|" |
| 19 r"policy_prefs_browsertest|" |
| 20 r"profile_policy_connector|" |
| 21 r"profile_policy_connector_factory|" |
| 22 r"url_blacklist_manager|" |
| 23 r"url_blacklist_manager_unittest)" |
| 24 r"\.(cc|h)": [ |
| 25 "+chrome", |
| 26 "+chromeos", |
| 27 "+content/public/browser", |
| 28 "+content/public/common", |
| 29 "+content/public/test", |
| 30 "+content/test/net", |
| 31 ], |
| 32 |
| 33 # TODO(joaodasilva): remove these exceptions. |
| 34 r"async_policy_loader\.cc": [ |
| 35 "+content/public/browser/browser_thread.h", |
| 36 ], |
| 37 |
| 38 r"async_policy_provider\.cc": [ |
| 39 "+content/public/browser/browser_thread.h", |
| 40 ], |
| 41 |
| 42 r"async_policy_provider_unittest\.cc": [ |
| 43 "+content/public/browser/browser_thread.h", |
| 44 "+content/public/test/test_browser_thread.h", |
| 45 ], |
| 46 |
| 47 r"configuration_policy_handler_android\.cc": [ |
| 48 "+chrome/common/net/url_fixer_upper.h", |
| 49 "+chrome/common/pref_names.h", |
| 50 ], |
| 51 |
| 52 r"configuration_policy_handler\.cc": [ |
| 53 "+chrome/browser/chrome_notification_types.h", |
| 54 "+chrome/browser/download/download_util.h", |
| 55 "+chrome/browser/extensions/external_policy_loader.h", |
| 56 "+chrome/browser/prefs/proxy_config_dictionary.h", |
| 57 "+chrome/browser/prefs/proxy_prefs.h", |
| 58 "+chrome/browser/prefs/session_startup_pref.h", |
| 59 "+chrome/browser/search_engines/search_terms_data.h", |
| 60 "+chrome/browser/search_engines/template_url.h", |
| 61 "+chrome/common/extensions/extension.h", |
| 62 "+chrome/common/pref_names.h", |
| 63 "+content/public/browser/notification_service.h", |
| 64 ], |
| 65 |
| 66 r"configuration_policy_handler\.h": [ |
| 67 "+chrome/browser/prefs/incognito_mode_prefs.h", |
| 68 "+chrome/common/content_settings.h", |
| 69 ], |
| 70 |
| 71 r"configuration_policy_handler_list\.cc": [ |
| 72 "+chrome/common/extensions/manifest.h", |
| 73 "+chrome/common/pref_names.h", |
| 74 "+chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.h", |
| 75 "+chromeos/dbus/power_policy_controller.h", |
| 76 ], |
| 77 |
| 78 r"configuration_policy_handler_unittest\.cc": [ |
| 79 "+chrome/browser/extensions/external_policy_loader.h", |
| 80 "+chrome/common/pref_names.h", |
| 81 ], |
| 82 |
| 83 r"configuration_policy_pref_store\.cc": [ |
| 84 "+chrome/browser/browser_process.h", |
| 85 "+content/public/browser/browser_thread.h", |
| 86 ], |
| 87 |
| 88 r"configuration_policy_pref_store_unittest\.cc": [ |
| 89 "+chrome/browser/prefs/incognito_mode_prefs.h", |
| 90 "+chrome/browser/prefs/proxy_config_dictionary.h", |
| 91 "+chrome/common/content_settings.h", |
| 92 "+chrome/common/pref_names.h", |
| 93 ], |
| 94 |
| 95 r"configuration_policy_provider_test\.h": [ |
| 96 "+content/public/test/test_browser_thread.h", |
| 97 ], |
| 98 |
| 99 r"policy_domain_descriptor\.cc": [ |
| 100 "+chrome/common/policy/policy_schema.h", |
| 101 ], |
| 102 |
| 103 r"policy_domain_descriptor_unittest\.cc": [ |
| 104 "+chrome/common/policy/policy_schema.h", |
| 105 ], |
| 106 |
| 107 r"policy_loader_mac\.cc": [ |
| 108 "+chrome/common/chrome_paths.h", |
| 109 "+chrome/common/policy/policy_schema.h", |
| 110 ], |
| 111 |
| 112 r"policy_loader_win\.cc": [ |
| 113 "+chrome/common/json_schema/json_schema_constants.h", |
| 114 ], |
| 115 |
| 116 r"policy_loader_win_unittest\.cc": [ |
| 117 "+chrome/common/chrome_paths.h", |
| 118 "+chrome/common/json_schema/json_schema_constants.h", |
| 119 ], |
| 120 |
| 121 r"policy_path_parser_win\.cc": [ |
| 122 "+chrome/common/chrome_switches.h", |
| 123 ], |
| 124 |
| 125 r"policy_service_impl_unittest\.cc": [ |
| 126 "+chrome/common/policy/policy_schema.h", |
| 127 "+content/public/browser/browser_thread.h", |
| 128 "+content/public/test/test_browser_thread_bundle.h", |
| 129 ], |
| 130 |
| 131 r"policy_statistics_collector\.cc": [ |
| 132 "+chrome/common/pref_names.h", |
| 133 ], |
| 134 |
| 135 r"policy_statistics_collector_unittest\.cc": [ |
| 136 "+chrome/browser/prefs/browser_prefs.h", |
| 137 "+chrome/common/pref_names.h", |
| 138 ], |
| 139 |
| 140 r"preg_parser_win_unittest\.cc": [ |
| 141 "+chrome/common/chrome_paths.h", |
| 142 ], |
| 143 |
| 144 r"registry_dict_win\.cc": [ |
| 145 "+chrome/common/json_schema/json_schema_constants.h", |
| 146 ], |
| 147 |
| 148 r"registry_dict_win_unittest\.cc": [ |
| 149 "+chrome/common/json_schema/json_schema_constants.h", |
| 150 ], |
| 151 |
| 152 r"test/local_policy_test_server\.cc": [ |
| 153 "+chrome/common/chrome_paths.h", |
| 154 ], |
| 155 } |
OLD | NEW |