Home | History | Annotate | Download | only in history
      1 include_rules = [
      2   # History is being made into a Browser Component, so we have these
      3   # basic rules followed by temporary exceptions.  Please don't
      4   # add to the list of exceptions!
      5   "-chrome/browser",
      6   "+chrome/browser/chrome_notification_types.h",
      7   "+chrome/browser/common",
      8   "+chrome/browser/favicon",
      9   "+chrome/browser/history",
     10   "+chrome/browser/network_time",
     11   "+chrome/tools/profiles",  # For history unit tests.
     12   "+components/visitedlink/browser",
     13 
     14   # TODO(erikwright): Bring this list to zero.
     15   #
     16   # Do not add to the list of temporarily-allowed dependencies below,
     17   # and please do not introduce more #includes of these files.
     18   "!chrome/browser/autocomplete/autocomplete_match.h",
     19   "!chrome/browser/autocomplete/autocomplete_provider.h",
     20   "!chrome/browser/autocomplete/autocomplete_result.h",
     21   "!chrome/browser/autocomplete/history_provider_util.h",
     22   "!chrome/browser/autocomplete/history_url_provider.h",
     23   "!chrome/browser/autocomplete/url_prefix.h",
     24   "!chrome/browser/bookmarks/bookmark_model.h",
     25   "!chrome/browser/bookmarks/bookmark_model_factory.h",
     26   "!chrome/browser/bookmarks/bookmark_service.h",
     27   "!chrome/browser/browser_process.h",
     28   "!chrome/browser/chromeos/login/existing_user_controller.h",
     29   "!chrome/browser/content_settings/cookie_settings.h",
     30   "!chrome/browser/diagnostics/sqlite_diagnostics.h",
     31   "!chrome/browser/omnibox/omnibox_field_trial.h",
     32   "!chrome/browser/omnibox/omnibox_log.h",
     33   "!chrome/browser/prefs/scoped_user_pref_update.h",
     34   "!chrome/browser/prerender/prerender_contents.h",
     35   "!chrome/browser/prerender/prerender_manager.h",
     36   "!chrome/browser/prerender/prerender_manager_factory.h",
     37   "!chrome/browser/profiles/incognito_helpers.h",
     38   "!chrome/browser/profiles/profile.h",
     39   "!chrome/browser/profiles/profile_manager.h",
     40   "!chrome/browser/signin/oauth2_token_service.h",
     41   "!chrome/browser/signin/profile_oauth2_token_service.h",
     42   "!chrome/browser/signin/profile_oauth2_token_service_factory.h",
     43   "!chrome/browser/signin/token_service_factory.h",
     44   "!chrome/browser/sync/profile_sync_service.h",
     45   "!chrome/browser/sync/profile_sync_service_factory.h",
     46   "!chrome/browser/ui/browser.h",
     47   "!chrome/browser/ui/browser_finder.h",
     48   "!chrome/browser/search_engines/template_url_id.h",
     49   "!chrome/browser/ui/profile_error_dialog.h",
     50   "!chrome/browser/ui/webui/ntp/most_visited_handler.h",
     51   "!chrome/browser/ui/webui/ntp/new_tab_ui.h",
     52 ]
     53 
     54 specific_include_rules = {
     55   # Browser tests, by definition, need access to the browser objects.
     56   '.*_(api|browser|)test\.cc': [
     57     "+chrome/browser",
     58   ],
     59   # TODO(erikwright): Bring this list to zero.
     60   #
     61   # Do not add to the list of temporarily-allowed dependencies below,
     62   # and please do not introduce more #includes of these files.
     63   '.*_[a-z]*test\.cc': [
     64     "!chrome/browser/bookmarks/bookmark_test_helpers.h",
     65     "!chrome/browser/bookmarks/bookmark_utils.h",
     66   ]
     67 }
     68