Chromium Code Reviews| Index: chrome/browser/policy/DEPS |
| diff --git a/chrome/browser/policy/DEPS b/chrome/browser/policy/DEPS |
| new file mode 100644 |
| index 0000000000000000000000000000000000000000..245cd81b4e03e047c855b3b41af9359e37d48fb2 |
| --- /dev/null |
| +++ b/chrome/browser/policy/DEPS |
| @@ -0,0 +1,155 @@ |
| +# The //chrome/browser/policy code is being converted into a component at |
| +# //components/policy. This DEPS file is temporarily restricting the include |
| +# rules for this code; once all the exceptions are fixed then the code will |
| +# be moved, and this file will be removed. |
| +# http://crbug.com/271392 |
| + |
| +include_rules = [ |
| + "-chrome", |
| + "-chromeos", |
| + "-content", |
| + "+chrome/browser/policy", |
| +] |
| + |
| +specific_include_rules = { |
| + # These files will stay. |
| + r"(browser_policy_connector|" |
| + r"managed_mode_policy_provider|" |
| + r"policy_browsertest|" |
| + r"policy_prefs_browsertest|" |
| + r"profile_policy_connector|" |
| + r"profile_policy_connector_factory|" |
| + r"url_blacklist_manager|" |
| + r"url_blacklist_manager_unittest)" |
| + r"\.(cc|h)": [ |
| + "+chrome", |
| + "+chromeos", |
|
Mattias Nissler (ping if slow)
2013/08/12 14:52:38
I guess this is for browser_policy_connector.{cc,h
Joao da Silva
2013/08/12 15:03:29
Mostly the browser connector, profile connector an
|
| + "+content/public/browser", |
| + "+content/public/common", |
| + "+content/public/test", |
| + "+content/test/net", |
| + ], |
| + |
| + # TODO(joaodasilva): remove these exceptions. |
| + r"async_policy_loader\.cc": [ |
| + "+content/public/browser/browser_thread.h", |
| + ], |
| + |
| + r"async_policy_provider\.cc": [ |
| + "+content/public/browser/browser_thread.h", |
| + ], |
| + |
| + r"async_policy_provider_unittest\.cc": [ |
| + "+content/public/browser/browser_thread.h", |
| + "+content/public/test/test_browser_thread.h", |
| + ], |
| + |
| + r"configuration_policy_handler_android\.cc": [ |
| + "+chrome/common/net/url_fixer_upper.h", |
| + "+chrome/common/pref_names.h", |
| + ], |
| + |
| + r"configuration_policy_handler\.cc": [ |
| + "+chrome/browser/chrome_notification_types.h", |
| + "+chrome/browser/download/download_util.h", |
| + "+chrome/browser/extensions/external_policy_loader.h", |
| + "+chrome/browser/prefs/proxy_config_dictionary.h", |
| + "+chrome/browser/prefs/proxy_prefs.h", |
| + "+chrome/browser/prefs/session_startup_pref.h", |
| + "+chrome/browser/search_engines/search_terms_data.h", |
| + "+chrome/browser/search_engines/template_url.h", |
| + "+chrome/common/extensions/extension.h", |
| + "+chrome/common/pref_names.h", |
| + "+content/public/browser/notification_service.h", |
| + ], |
| + |
| + r"configuration_policy_handler\.h": [ |
| + "+chrome/browser/prefs/incognito_mode_prefs.h", |
| + "+chrome/common/content_settings.h", |
| + ], |
| + |
| + r"configuration_policy_handler_list\.cc": [ |
| + "+chrome/common/extensions/manifest.h", |
| + "+chrome/common/pref_names.h", |
| + "+chrome/browser/chromeos/policy/configuration_policy_handler_chromeos.h", |
| + "+chromeos/dbus/power_policy_controller.h", |
| + ], |
| + |
| + r"configuration_policy_handler_unittest\.cc": [ |
| + "+chrome/browser/extensions/external_policy_loader.h", |
| + "+chrome/common/pref_names.h", |
| + ], |
| + |
| + r"configuration_policy_pref_store\.cc": [ |
| + "+chrome/browser/browser_process.h", |
| + "+content/public/browser/browser_thread.h", |
| + ], |
| + |
| + r"configuration_policy_pref_store_unittest\.cc": [ |
| + "+chrome/browser/prefs/incognito_mode_prefs.h", |
| + "+chrome/browser/prefs/proxy_config_dictionary.h", |
| + "+chrome/common/content_settings.h", |
| + "+chrome/common/pref_names.h", |
| + ], |
| + |
| + r"configuration_policy_provider_test\.h": [ |
| + "+content/public/test/test_browser_thread.h", |
| + ], |
| + |
| + r"policy_domain_descriptor\.cc": [ |
| + "+chrome/common/policy/policy_schema.h", |
| + ], |
| + |
| + r"policy_domain_descriptor_unittest\.cc": [ |
| + "+chrome/common/policy/policy_schema.h", |
| + ], |
| + |
| + r"policy_loader_mac\.cc": [ |
| + "+chrome/common/chrome_paths.h", |
| + "+chrome/common/policy/policy_schema.h", |
| + ], |
| + |
| + r"policy_loader_win\.cc": [ |
| + "+chrome/common/json_schema/json_schema_constants.h", |
| + ], |
| + |
| + r"policy_loader_win_unittest\.cc": [ |
| + "+chrome/common/chrome_paths.h", |
| + "+chrome/common/json_schema/json_schema_constants.h", |
| + ], |
| + |
| + r"policy_path_parser_win\.cc": [ |
| + "+chrome/common/chrome_switches.h", |
| + ], |
| + |
| + r"policy_service_impl_unittest\.cc": [ |
| + "+chrome/common/policy/policy_schema.h", |
| + "+content/public/browser/browser_thread.h", |
| + "+content/public/test/test_browser_thread_bundle.h", |
| + ], |
| + |
| + r"policy_statistics_collector\.cc": [ |
| + "+chrome/common/pref_names.h", |
| + ], |
| + |
| + r"policy_statistics_collector_unittest\.cc": [ |
| + "+chrome/browser/prefs/browser_prefs.h", |
| + "+chrome/common/pref_names.h", |
| + ], |
| + |
| + r"preg_parser_win_unittest\.cc": [ |
| + "+chrome/common/chrome_paths.h", |
| + ], |
| + |
| + r"registry_dict_win\.cc": [ |
| + "+chrome/common/json_schema/json_schema_constants.h", |
| + ], |
| + |
| + r"registry_dict_win_unittest\.cc": [ |
| + "+chrome/common/json_schema/json_schema_constants.h", |
| + ], |
| + |
| + r"test/local_policy_test_server\.cc": [ |
| + "+chrome/common/chrome_paths.h", |
| + ], |
| +} |