OLD | NEW |
1 include_rules = [ | 1 include_rules = [ |
2 # Bookmarks is being made into a component (it will end up at | 2 # Bookmarks is being made into a component (it will end up at |
3 # //components/bookmarks and not depend on //chrome), so we have these basic | 3 # //components/bookmarks and not depend on //chrome), so we have these basic |
4 # rules followed by temporary exceptions. Please don't add to the list of | 4 # rules followed by temporary exceptions. Please don't add to the list of |
5 # exceptions! | 5 # exceptions! |
6 "-chrome/browser", | 6 "-chrome/browser", |
7 "+chrome/browser/bookmarks", | 7 "+chrome/browser/bookmarks", |
8 "+chrome/browser/favicon", | 8 "+chrome/browser/favicon", |
9 "+chrome/browser/chrome_notification_types.h", | 9 "+chrome/browser/chrome_notification_types.h", |
| 10 "+chrome/browser/policy/profile_policy_connector.h", |
| 11 "+chrome/browser/policy/profile_policy_connector_factory.h", |
| 12 "+chrome/browser/profiles/startup_task_runner_service.h", |
| 13 "+chrome/browser/profiles/startup_task_runner_service_factory.h", |
10 "+chrome/browser/undo/bookmark_undo_service.h", | 14 "+chrome/browser/undo/bookmark_undo_service.h", |
11 "+chrome/browser/undo/bookmark_undo_service_factory.h", | 15 "+chrome/browser/undo/bookmark_undo_service_factory.h", |
12 | 16 |
13 # TODO(tfarina): Bring this list to zero. crbug.com/144783 | 17 # TODO(tfarina): Bring this list to zero. crbug.com/144783 |
14 # Do not add to the list of temporarily-allowed dependencies below, | 18 # Do not add to the list of temporarily-allowed dependencies below, |
15 # and please do not introduce more #includes of these files. | 19 # and please do not introduce more #includes of these files. |
16 "!chrome/browser/history/history_service.h", | 20 "!chrome/browser/history/history_service.h", |
17 "!chrome/browser/history/history_service_factory.h", | 21 "!chrome/browser/history/history_service_factory.h", |
18 "!chrome/browser/history/url_database.h", | 22 "!chrome/browser/history/url_database.h", |
19 "!chrome/browser/omnibox/omnibox_field_trial.h", | 23 "!chrome/browser/omnibox/omnibox_field_trial.h", |
20 "!chrome/browser/profiles/incognito_helpers.h", | 24 "!chrome/browser/profiles/incognito_helpers.h", |
21 "!chrome/browser/profiles/profile.h", | 25 "!chrome/browser/profiles/profile.h", |
22 "!chrome/browser/profiles/startup_task_runner_service.h", | |
23 "!chrome/browser/profiles/startup_task_runner_service_factory.h", | |
24 # Do not add to the list of temporarily-allowed dependencies above, | 26 # Do not add to the list of temporarily-allowed dependencies above, |
25 # and please do not introduce more #includes of these files. | 27 # and please do not introduce more #includes of these files. |
26 ] | 28 ] |
27 | 29 |
28 specific_include_rules = { | 30 specific_include_rules = { |
29 # For unit tests, it's fine to include utility process code. | 31 # For unit tests, it's fine to include utility process code. |
30 '.*test\.cc': [ | 32 '.*test\.cc': [ |
31 "!chrome/test/base/testing_profile.h", | 33 "+chrome/test/base/testing_profile.h", |
32 "+chrome/utility/importer/bookmark_html_reader.h", | 34 "+chrome/utility/importer/bookmark_html_reader.h", |
33 ], | 35 ], |
34 } | 36 } |
OLD | NEW |