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", | 10 "+chrome/browser/policy/profile_policy_connector.h", |
11 "+chrome/browser/policy/profile_policy_connector_factory.h", | 11 "+chrome/browser/policy/profile_policy_connector_factory.h", |
12 "+chrome/browser/profiles/incognito_helpers.h", | 12 "+chrome/browser/profiles/incognito_helpers.h", |
13 "+chrome/browser/profiles/profile.h", | 13 "+chrome/browser/profiles/profile.h", |
14 "+chrome/browser/profiles/startup_task_runner_service.h", | 14 "+chrome/browser/profiles/startup_task_runner_service.h", |
15 "+chrome/browser/profiles/startup_task_runner_service_factory.h", | 15 "+chrome/browser/profiles/startup_task_runner_service_factory.h", |
16 "+chrome/browser/undo/bookmark_undo_service.h", | 16 "+chrome/browser/undo/bookmark_undo_service.h", |
17 "+chrome/browser/undo/bookmark_undo_service_factory.h", | 17 "+chrome/browser/undo/bookmark_undo_service_factory.h", |
18 | 18 |
19 # TODO(tfarina): Bring this list to zero. crbug.com/144783 | 19 # TODO(tfarina): Bring this list to zero. crbug.com/144783 |
20 # Do not add to the list of temporarily-allowed dependencies below, | 20 # Do not add to the list of temporarily-allowed dependencies below, |
21 # and please do not introduce more #includes of these files. | 21 # and please do not introduce more #includes of these files. |
22 "!chrome/browser/history/history_service.h", | 22 "!chrome/browser/history/history_service.h", |
23 "!chrome/browser/history/history_service_factory.h", | 23 "!chrome/browser/history/history_service_factory.h", |
24 "!chrome/browser/history/url_database.h", | 24 "!chrome/browser/history/url_database.h", |
25 "!chrome/browser/omnibox/omnibox_field_trial.h", | |
26 # Do not add to the list of temporarily-allowed dependencies above, | 25 # Do not add to the list of temporarily-allowed dependencies above, |
27 # and please do not introduce more #includes of these files. | 26 # and please do not introduce more #includes of these files. |
28 ] | 27 ] |
29 | 28 |
30 specific_include_rules = { | 29 specific_include_rules = { |
31 # For unit tests, it's fine to include utility process code. | 30 # For unit tests, it's fine to include utility process code. |
32 '.*test\.cc': [ | 31 '.*test\.cc': [ |
33 "+chrome/test/base/testing_profile.h", | 32 "+chrome/test/base/testing_profile.h", |
34 "+chrome/utility/importer/bookmark_html_reader.h", | 33 "+chrome/utility/importer/bookmark_html_reader.h", |
35 ], | 34 ], |
36 } | 35 } |
OLD | NEW |