OLD | NEW |
1 include_rules = [ | 1 include_rules = [ |
2 # History is being made into a Browser Component (http://crbug.com/370850), so | 2 # History is being made into a Browser Component (http://crbug.com/370850), so |
3 # we have these basic rules followed by temporary exceptions. Please don't | 3 # we have these basic rules followed by temporary exceptions. Please don't |
4 # add to the list of exceptions! | 4 # add to the list of exceptions! |
5 # | 5 # |
6 # Please send reviews to sdefresne@chromium.org when adding dependencies to | 6 # Please send reviews to sdefresne@chromium.org when adding dependencies to |
7 # this list. | 7 # this list. |
8 "-chrome/browser", | 8 "-chrome/browser", |
9 "-components", | 9 "-components", |
10 | 10 |
11 "+chrome/browser/history", | 11 "+chrome/browser/history", |
12 "-chrome/browser/history/android", | 12 "-chrome/browser/history/android", |
13 | 13 |
14 "+components/history", | 14 "+components/history", |
15 "+components/favicon_base", | 15 "+components/favicon_base", |
16 "+components/keyed_service/core", | 16 "+components/keyed_service/core", |
17 "+components/signin/core/browser", | 17 "+components/signin/core/browser", |
18 | 18 |
19 # TODO(sdefresne): Bring this list to zero. | 19 # TODO(sdefresne): Bring this list to zero. |
20 # | 20 # |
21 # Do not add to the list of temporarily-allowed dependencies below, | 21 # Do not add to the list of temporarily-allowed dependencies below, |
22 # and please do not introduce more #includes of these files. | 22 # and please do not introduce more #includes of these files. |
| 23 "!chrome/browser/autocomplete/in_memory_url_index.h", |
23 "!chrome/browser/chrome_notification_types.h", | 24 "!chrome/browser/chrome_notification_types.h", |
24 "!chrome/browser/prerender/prerender_contents.h", | 25 "!chrome/browser/prerender/prerender_contents.h", |
25 "!chrome/browser/prerender/prerender_manager.h", | 26 "!chrome/browser/prerender/prerender_manager.h", |
26 "!chrome/browser/prerender/prerender_manager_factory.h", | 27 "!chrome/browser/prerender/prerender_manager_factory.h", |
27 "!chrome/browser/profiles/incognito_helpers.h", | 28 "!chrome/browser/profiles/incognito_helpers.h", |
28 "!chrome/browser/profiles/profile.h", | 29 "!chrome/browser/profiles/profile.h", |
29 "!chrome/browser/profiles/profile_manager.h", | 30 "!chrome/browser/profiles/profile_manager.h", |
30 "!chrome/browser/ui/browser.h", | 31 "!chrome/browser/ui/browser.h", |
31 "!chrome/browser/ui/browser_finder.h", | 32 "!chrome/browser/ui/browser_finder.h", |
32 "!components/bookmarks/browser/bookmark_utils.h", | |
33 "!components/dom_distiller/core/url_constants.h", | 33 "!components/dom_distiller/core/url_constants.h", |
34 ] | 34 ] |
35 | 35 |
36 specific_include_rules = { | 36 specific_include_rules = { |
37 # Browser tests, by definition, need access to the browser objects. | 37 # Browser tests, by definition, need access to the browser objects. |
38 '.*_(api|browser|)test\.cc': [ | 38 '.*_(api|browser|)test\.cc': [ |
39 "+chrome/browser", | 39 "+chrome/browser", |
40 ], | 40 ], |
41 # chrome_.* and .*_factory won't be componentized as they belong to the | 41 # chrome_.* and .*_factory won't be componentized as they belong to the |
42 # embedder, so they can depend on other feature in chrome/. Same thing | 42 # embedder, so they can depend on other feature in chrome/. Same thing |
(...skipping 25 matching lines...) Expand all Loading... |
68 "!chrome/browser/autocomplete/scored_history_match_builder_impl.h", | 68 "!chrome/browser/autocomplete/scored_history_match_builder_impl.h", |
69 "!chrome/browser/bookmarks/bookmark_model_factory.h", | 69 "!chrome/browser/bookmarks/bookmark_model_factory.h", |
70 "!chrome/browser/signin/profile_oauth2_token_service_factory.h", | 70 "!chrome/browser/signin/profile_oauth2_token_service_factory.h", |
71 "!chrome/browser/signin/signin_manager_factory.h", | 71 "!chrome/browser/signin/signin_manager_factory.h", |
72 "!chrome/browser/sync/profile_sync_service.h", | 72 "!chrome/browser/sync/profile_sync_service.h", |
73 "!chrome/browser/sync/profile_sync_service_factory.h", | 73 "!chrome/browser/sync/profile_sync_service_factory.h", |
74 "!chrome/browser/sync/profile_sync_service_mock.h", | 74 "!chrome/browser/sync/profile_sync_service_mock.h", |
75 "!components/bookmarks/test/bookmark_test_helpers.h", | 75 "!components/bookmarks/test/bookmark_test_helpers.h", |
76 ] | 76 ] |
77 } | 77 } |
OLD | NEW |