| 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/history", | 7 "+chrome/browser/history", |
| 8 | 8 |
| 9 # TODO(erikwright): Bring this list to zero. | 9 # TODO(erikwright): Bring this list to zero. |
| 10 # | 10 # |
| (...skipping 26 matching lines...) Expand all Loading... |
| 37 "!chrome/browser/profiles/refcounted_profile_keyed_service.h", | 37 "!chrome/browser/profiles/refcounted_profile_keyed_service.h", |
| 38 "!chrome/browser/profiles/refcounted_profile_keyed_service_factory.h", | 38 "!chrome/browser/profiles/refcounted_profile_keyed_service_factory.h", |
| 39 "!chrome/browser/search_engines/template_url_id.h", | 39 "!chrome/browser/search_engines/template_url_id.h", |
| 40 "!chrome/browser/ui/profile_error_dialog.h", | 40 "!chrome/browser/ui/profile_error_dialog.h", |
| 41 "!chrome/browser/ui/webui/ntp/most_visited_handler.h", | 41 "!chrome/browser/ui/webui/ntp/most_visited_handler.h", |
| 42 "!chrome/browser/ui/webui/ntp/new_tab_ui.h", | 42 "!chrome/browser/ui/webui/ntp/new_tab_ui.h", |
| 43 "!chrome/browser/visitedlink/visitedlink_master.h", | 43 "!chrome/browser/visitedlink/visitedlink_master.h", |
| 44 ] | 44 ] |
| 45 | 45 |
| 46 specific_include_rules = { | 46 specific_include_rules = { |
| 47 # Browser tests, by definition, need access to the browser objects. |
| 48 '.*_(api|browser|extension_)test\.cc': [ |
| 49 "+chrome/browser", |
| 50 ], |
| 47 # TODO(erikwright): Bring this list to zero. | 51 # TODO(erikwright): Bring this list to zero. |
| 48 # | 52 # |
| 49 # Do not add to the list of temporarily-allowed dependencies below, | 53 # Do not add to the list of temporarily-allowed dependencies below, |
| 50 # and please do not introduce more #includes of these files. | 54 # and please do not introduce more #includes of these files. |
| 51 '.*_[a-z]*test\.cc': [ | 55 '.*_[a-z]*test\.cc': [ |
| 52 "!chrome/browser/bookmarks/bookmark_utils.h", | 56 "!chrome/browser/bookmarks/bookmark_utils.h", |
| 53 "!chrome/browser/extensions/extension_apitest.h", | |
| 54 "!chrome/browser/extensions/extension_function_test_utils.h", | |
| 55 "!chrome/browser/ui/browser.h", | |
| 56 "!chrome/browser/ui/browser_tabstrip.h", | |
| 57 "!chrome/browser/ui/view_ids.h", | |
| 58 ] | 57 ] |
| 59 } | 58 } |
| OLD | NEW |