OLD | NEW |
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 = [ | 1 include_rules = [ |
8 "-chrome", | 2 "+chrome", |
9 "-chromeos", | 3 "+chromeos", |
10 "-content", | 4 "+content/public/browser", |
11 "+chrome/browser/policy", | 5 "+content/public/common", |
12 "+components/json_schema", | 6 "+content/public/test", |
| 7 "+content/test/net", |
13 ] | 8 ] |
14 | |
15 specific_include_rules = { | |
16 # These files will stay. | |
17 r"(browser_policy_connector|" | |
18 r"configuration_policy_handler_android|" | |
19 r"configuration_policy_handler_list_factory|" | |
20 r"file_selection_dialogs_policy_handler|" | |
21 r"file_selection_dialogs_policy_handler_unittest|" | |
22 r"generate_policy_source_unittest|" | |
23 r"javascript_policy_handler|" | |
24 r"javascript_policy_handler_unittest|" | |
25 r"managed_mode_policy_provider|" | |
26 r"policy_browsertest|" | |
27 r"policy_path_parser|" | |
28 r"policy_path_parser_linux|" | |
29 r"policy_path_parser_mac|" | |
30 r"policy_path_parser_unittest|" | |
31 r"policy_path_parser_win|" | |
32 r"policy_prefs_browsertest|" | |
33 r"policy_transformations|" | |
34 r"policy_transformations_unittest|" | |
35 r"profile_policy_connector|" | |
36 r"profile_policy_connector_factory|" | |
37 r"url_blacklist_manager|" | |
38 r"url_blacklist_manager_unittest|" | |
39 r"url_blacklist_policy_handler|" | |
40 r"url_blacklist_policy_handler_unittest)" | |
41 r"\.(cc|h)": [ | |
42 "+chrome", | |
43 "+chromeos", | |
44 "+content/public/browser", | |
45 "+content/public/common", | |
46 "+content/public/test", | |
47 "+content/test/net", | |
48 ], | |
49 | |
50 # These will go in the component but can use the public content API. | |
51 r"(schema_registry_service_factory)" | |
52 r"\.(cc|h)": [ | |
53 "+content/public/browser", | |
54 "+content/public/common", | |
55 ], | |
56 } | |
OLD | NEW |