| OLD | NEW |
| 1 include_rules = [ | 1 include_rules = [ |
| 2 # History is being made into a Browser Component, so we have these | 2 # History is being made into a Browser Component, so we have these |
| 3 # three basic rules followed by temporary exceptions. Please don't | 3 # three basic rules followed by temporary exceptions. Please don't |
| 4 # add to the list of exceptions! | 4 # add to the list of exceptions! |
| 5 "-chrome/browser", | 5 "-chrome/browser", |
| 6 "+chrome/browser/api", | 6 "+chrome/browser/api", |
| 7 "+chrome/browser/common", | 7 "+chrome/browser/common", |
| 8 "+chrome/browser/history", | 8 "+chrome/browser/history", |
| 9 "+components/visitedlink/browser", |
| 9 | 10 |
| 10 # TODO(erikwright): Bring this list to zero. | 11 # TODO(erikwright): Bring this list to zero. |
| 11 # | 12 # |
| 12 # Do not add to the list of temporarily-allowed dependencies below, | 13 # Do not add to the list of temporarily-allowed dependencies below, |
| 13 # and please do not introduce more #includes of these files. | 14 # and please do not introduce more #includes of these files. |
| 14 "!chrome/browser/autocomplete/autocomplete_field_trial.h", | 15 "!chrome/browser/autocomplete/autocomplete_field_trial.h", |
| 15 "!chrome/browser/autocomplete/autocomplete_log.h", | 16 "!chrome/browser/autocomplete/autocomplete_log.h", |
| 16 "!chrome/browser/autocomplete/autocomplete_match.h", | 17 "!chrome/browser/autocomplete/autocomplete_match.h", |
| 17 "!chrome/browser/autocomplete/autocomplete_provider.h", | 18 "!chrome/browser/autocomplete/autocomplete_provider.h", |
| 18 "!chrome/browser/autocomplete/autocomplete_result.h", | 19 "!chrome/browser/autocomplete/autocomplete_result.h", |
| (...skipping 25 matching lines...) Expand all Loading... |
| 44 "!chrome/browser/signin/oauth2_token_service_factory.h", | 45 "!chrome/browser/signin/oauth2_token_service_factory.h", |
| 45 "!chrome/browser/signin/token_service_factory.h", | 46 "!chrome/browser/signin/token_service_factory.h", |
| 46 "!chrome/browser/sync/profile_sync_service.h", | 47 "!chrome/browser/sync/profile_sync_service.h", |
| 47 "!chrome/browser/sync/profile_sync_service_factory.h", | 48 "!chrome/browser/sync/profile_sync_service_factory.h", |
| 48 "!chrome/browser/ui/browser.h", | 49 "!chrome/browser/ui/browser.h", |
| 49 "!chrome/browser/ui/browser_finder.h", | 50 "!chrome/browser/ui/browser_finder.h", |
| 50 "!chrome/browser/search_engines/template_url_id.h", | 51 "!chrome/browser/search_engines/template_url_id.h", |
| 51 "!chrome/browser/ui/profile_error_dialog.h", | 52 "!chrome/browser/ui/profile_error_dialog.h", |
| 52 "!chrome/browser/ui/webui/ntp/most_visited_handler.h", | 53 "!chrome/browser/ui/webui/ntp/most_visited_handler.h", |
| 53 "!chrome/browser/ui/webui/ntp/new_tab_ui.h", | 54 "!chrome/browser/ui/webui/ntp/new_tab_ui.h", |
| 54 # TODO(boliu): Allow visitedlink after they are componentized. | |
| 55 "!chrome/browser/visitedlink/visitedlink_delegate.h", | |
| 56 "!chrome/browser/visitedlink/visitedlink_master.h", | |
| 57 ] | 55 ] |
| 58 | 56 |
| 59 specific_include_rules = { | 57 specific_include_rules = { |
| 60 # Browser tests, by definition, need access to the browser objects. | 58 # Browser tests, by definition, need access to the browser objects. |
| 61 '.*_(api|browser|)test\.cc': [ | 59 '.*_(api|browser|)test\.cc': [ |
| 62 "+chrome/browser", | 60 "+chrome/browser", |
| 63 ], | 61 ], |
| 64 # TODO(erikwright): Bring this list to zero. | 62 # TODO(erikwright): Bring this list to zero. |
| 65 # | 63 # |
| 66 # Do not add to the list of temporarily-allowed dependencies below, | 64 # Do not add to the list of temporarily-allowed dependencies below, |
| 67 # and please do not introduce more #includes of these files. | 65 # and please do not introduce more #includes of these files. |
| 68 '.*_[a-z]*test\.cc': [ | 66 '.*_[a-z]*test\.cc': [ |
| 69 "!chrome/browser/bookmarks/bookmark_utils.h", | 67 "!chrome/browser/bookmarks/bookmark_utils.h", |
| 70 ] | 68 ] |
| 71 } | 69 } |
| OLD | NEW |