| OLD | NEW |
| 1 include_rules = [ | 1 include_rules = [ |
| 2 # Bookmarks is being made into a Browser Component, so we have these | 2 # Bookmarks is being made into a Browser Component, so we have these |
| 3 # two basic rules followed by temporary exceptions. Please don't | 3 # two 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/bookmarks", | 7 "+chrome/browser/bookmarks", |
| 8 "+chrome/browser/common", | 8 "+chrome/browser/common", |
| 9 | 9 |
| 10 # TODO(kaiwang): Bring this list to zero. | 10 # TODO(kaiwang): Bring this list to zero. |
| 11 # Do not add to the list of temporarily-allowed dependencies below, | 11 # Do not add to the list of temporarily-allowed dependencies below, |
| 12 # and please do not introduce more #includes of these files. | 12 # and please do not introduce more #includes of these files. |
| 13 "!chrome/browser/extensions/api/bookmarks/bookmark_api.h", | |
| 14 "!chrome/browser/extensions/api/bookmarks/bookmark_api_constants.h", | |
| 15 "!chrome/browser/extensions/api/bookmarks/bookmark_api_helpers.h", | |
| 16 "!chrome/browser/extensions/event_router.h", | |
| 17 "!chrome/browser/extensions/extension_function.h", | |
| 18 "!chrome/browser/extensions/extension_function_dispatcher.h", | |
| 19 "!chrome/browser/extensions/extension_system.h", | |
| 20 "!chrome/browser/extensions/extension_web_ui.h", | |
| 21 "!chrome/browser/favicon/favicon_service.h", | 13 "!chrome/browser/favicon/favicon_service.h", |
| 22 "!chrome/browser/favicon/favicon_service_factory.h", | 14 "!chrome/browser/favicon/favicon_service_factory.h", |
| 23 "!chrome/browser/history/history.h", | 15 "!chrome/browser/history/history.h", |
| 24 "!chrome/browser/history/history_database.h", | 16 "!chrome/browser/history/history_database.h", |
| 25 "!chrome/browser/history/history_notifications.h", | 17 "!chrome/browser/history/history_notifications.h", |
| 26 "!chrome/browser/history/history_service_factory.h", | 18 "!chrome/browser/history/history_service_factory.h", |
| 27 "!chrome/browser/history/history_types.h", | 19 "!chrome/browser/history/history_types.h", |
| 28 "!chrome/browser/history/query_parser.h", | 20 "!chrome/browser/history/query_parser.h", |
| 29 "!chrome/browser/history/snippet.h", | 21 "!chrome/browser/history/snippet.h", |
| 30 "!chrome/browser/importer/importer_data_types.h", | 22 "!chrome/browser/importer/importer_data_types.h", |
| 31 "!chrome/browser/importer/importer_host.h", | 23 "!chrome/browser/importer/importer_host.h", |
| 32 "!chrome/browser/prefs/pref_service.h", | 24 "!chrome/browser/prefs/pref_service.h", |
| 33 "!chrome/browser/profiles/profile.h", | 25 "!chrome/browser/profiles/profile.h", |
| 34 "!chrome/browser/profiles/profile_dependency_manager.h", | 26 "!chrome/browser/profiles/profile_dependency_manager.h", |
| 35 "!chrome/browser/profiles/profile_keyed_service.h", | 27 "!chrome/browser/profiles/profile_keyed_service.h", |
| 36 "!chrome/browser/profiles/profile_keyed_service_factory.h", | 28 "!chrome/browser/profiles/profile_keyed_service_factory.h", |
| 37 "!chrome/browser/ui/bookmarks/bookmark_tab_helper.h", | 29 "!chrome/browser/ui/bookmarks/bookmark_tab_helper.h", |
| 38 "!chrome/browser/ui/chrome_select_file_policy.h", | 30 "!chrome/browser/ui/chrome_select_file_policy.h", |
| 39 "!chrome/browser/ui/webui/chrome_url_data_manager.h", | 31 "!chrome/browser/ui/webui/chrome_url_data_manager.h", |
| 40 "!chrome/browser/view_type_utils.h", | |
| 41 # Do not add to the list of temporarily-allowed dependencies above, | 32 # Do not add to the list of temporarily-allowed dependencies above, |
| 42 # and please do not introduce more #includes of these files. | 33 # and please do not introduce more #includes of these files. |
| 43 ] | 34 ] |
| 44 | 35 |
| 45 specific_include_rules = { | 36 specific_include_rules = { |
| 46 # TODO(kaiwang): Bring this list to zero. | 37 # TODO(kaiwang): Bring this list to zero. |
| 47 # Do not add to the list of temporarily-allowed dependencies below, | 38 # Do not add to the list of temporarily-allowed dependencies below, |
| 48 # and please do not introduce more #includes of these files. | 39 # and please do not introduce more #includes of these files. |
| 49 '.*_[a-z]*test\.cc': [ | 40 '.*_[a-z]*test\.cc': [ |
| 50 "!chrome/browser/extensions/extension_apitest.h", | |
| 51 "!chrome/browser/history/in_memory_database.h", | 41 "!chrome/browser/history/in_memory_database.h", |
| 52 "!chrome/browser/importer/firefox2_importer.h", | 42 "!chrome/browser/importer/firefox2_importer.h", |
| 53 "!chrome/browser/ui/browser.h", | 43 "!chrome/browser/ui/browser.h", |
| 54 ] | 44 ] |
| 55 } | 45 } |
| OLD | NEW |