| 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/history", | 8 "+chrome/browser/history", |
| 8 | 9 |
| 9 # TODO(erikwright): Bring this list to zero. | 10 # TODO(erikwright): Bring this list to zero. |
| 10 # | 11 # |
| 11 # Do not add to the list of temporarily-allowed dependencies below, | 12 # Do not add to the list of temporarily-allowed dependencies below, |
| 12 # and please do not introduce more #includes of these files. | 13 # and please do not introduce more #includes of these files. |
| 13 "!chrome/browser/autocomplete/autocomplete_field_trial.h", | 14 "!chrome/browser/autocomplete/autocomplete_field_trial.h", |
| 14 "!chrome/browser/autocomplete/autocomplete_log.h", | 15 "!chrome/browser/autocomplete/autocomplete_log.h", |
| 15 "!chrome/browser/autocomplete/autocomplete_match.h", | 16 "!chrome/browser/autocomplete/autocomplete_match.h", |
| 16 "!chrome/browser/autocomplete/autocomplete_provider.h", | 17 "!chrome/browser/autocomplete/autocomplete_provider.h", |
| (...skipping 10 matching lines...) Expand all Loading... |
| 27 "!chrome/browser/extensions/event_router.h", | 28 "!chrome/browser/extensions/event_router.h", |
| 28 "!chrome/browser/extensions/extension_function.h", | 29 "!chrome/browser/extensions/extension_function.h", |
| 29 "!chrome/browser/favicon/favicon_service.h", | 30 "!chrome/browser/favicon/favicon_service.h", |
| 30 "!chrome/browser/prefs/pref_service.h", | 31 "!chrome/browser/prefs/pref_service.h", |
| 31 "!chrome/browser/prefs/scoped_user_pref_update.h", | 32 "!chrome/browser/prefs/scoped_user_pref_update.h", |
| 32 "!chrome/browser/profiles/profile.h", | 33 "!chrome/browser/profiles/profile.h", |
| 33 "!chrome/browser/profiles/profile_dependency_manager.h", | 34 "!chrome/browser/profiles/profile_dependency_manager.h", |
| 34 "!chrome/browser/profiles/profile_manager.h", | 35 "!chrome/browser/profiles/profile_manager.h", |
| 35 "!chrome/browser/profiles/refcounted_profile_keyed_service.h", | 36 "!chrome/browser/profiles/refcounted_profile_keyed_service.h", |
| 36 "!chrome/browser/profiles/refcounted_profile_keyed_service_factory.h", | 37 "!chrome/browser/profiles/refcounted_profile_keyed_service_factory.h", |
| 37 "!chrome/browser/search_engines/template_url_id.h", | |
| 38 "!chrome/browser/ui/profile_error_dialog.h", | 38 "!chrome/browser/ui/profile_error_dialog.h", |
| 39 "!chrome/browser/ui/webui/ntp/most_visited_handler.h", | 39 "!chrome/browser/ui/webui/ntp/most_visited_handler.h", |
| 40 "!chrome/browser/ui/webui/ntp/new_tab_ui.h", | 40 "!chrome/browser/ui/webui/ntp/new_tab_ui.h", |
| 41 "!chrome/browser/visitedlink/visitedlink_master.h", | 41 "!chrome/browser/visitedlink/visitedlink_master.h", |
| 42 ] | 42 ] |
| 43 | 43 |
| 44 specific_include_rules = { | 44 specific_include_rules = { |
| 45 # Browser tests, by definition, need access to the browser objects. | 45 # Browser tests, by definition, need access to the browser objects. |
| 46 '.*_(api|browser|extension_)test\.cc': [ | 46 '.*_(api|browser|extension_)test\.cc': [ |
| 47 "+chrome/browser", | 47 "+chrome/browser", |
| 48 ], | 48 ], |
| 49 # TODO(erikwright): Bring this list to zero. | 49 # TODO(erikwright): Bring this list to zero. |
| 50 # | 50 # |
| 51 # Do not add to the list of temporarily-allowed dependencies below, | 51 # Do not add to the list of temporarily-allowed dependencies below, |
| 52 # and please do not introduce more #includes of these files. | 52 # and please do not introduce more #includes of these files. |
| 53 '.*_[a-z]*test\.cc': [ | 53 '.*_[a-z]*test\.cc': [ |
| 54 "!chrome/browser/bookmarks/bookmark_utils.h", | 54 "!chrome/browser/bookmarks/bookmark_utils.h", |
| 55 ] | 55 ] |
| 56 } | 56 } |
| OLD | NEW |