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 
     11   # TODO(erikwright): Bring this list to zero.
     12   #
     13   # Do not add to the list of temporarily-allowed dependencies below,
     14   # and please do not introduce more #includes of these files.
     15   "!chrome/browser/autocomplete/autocomplete_match.h",
     16   "!chrome/browser/autocomplete/autocomplete_provider.h",
     17   "!chrome/browser/autocomplete/autocomplete_result.h",
     18   "!chrome/browser/autocomplete/history_provider_util.h",
     19   "!chrome/browser/autocomplete/history_url_provider.h",
     20   "!chrome/browser/autocomplete/url_prefix.h",
     21   "!chrome/browser/bookmarks/bookmark_model.h",
     22   "!chrome/browser/bookmarks/bookmark_model_factory.h",
     23   "!chrome/browser/bookmarks/bookmark_service.h",
     24   "!chrome/browser/browser_process.h",
     25   "!chrome/browser/chromeos/login/existing_user_controller.h",
     26   "!chrome/browser/content_settings/cookie_settings.h",
     27   "!chrome/browser/diagnostics/sqlite_diagnostics.h",
     28   "!chrome/browser/omnibox/omnibox_field_trial.h",
     29   "!chrome/browser/omnibox/omnibox_log.h",
     30   "!chrome/browser/prefs/scoped_user_pref_update.h",
     31   "!chrome/browser/prerender/prerender_contents.h",
     32   "!chrome/browser/prerender/prerender_manager.h",
     33   "!chrome/browser/prerender/prerender_manager_factory.h",
     34   "!chrome/browser/profiles/incognito_helpers.h",
     35   "!chrome/browser/profiles/profile.h",
     36   "!chrome/browser/profiles/profile_manager.h",
     37   "!chrome/browser/signin/oauth2_token_service.h",
     38   "!chrome/browser/signin/profile_oauth2_token_service.h",
     39   "!chrome/browser/signin/profile_oauth2_token_service_factory.h",
     40   "!chrome/browser/signin/token_service_factory.h",
     41   "!chrome/browser/sync/profile_sync_service.h",
     42   "!chrome/browser/sync/profile_sync_service_factory.h",
     43   "!chrome/browser/ui/browser.h",
     44   "!chrome/browser/ui/browser_finder.h",
     45   "!chrome/browser/search_engines/template_url_id.h",
     46   "!chrome/browser/ui/profile_error_dialog.h",
     47   "!chrome/browser/ui/webui/ntp/most_visited_handler.h",
     48   "!chrome/browser/ui/webui/ntp/new_tab_ui.h",
     49 ]
     50 
     51 specific_include_rules = {
     52   # Browser tests, by definition, need access to the browser objects.
     53   '.*_(api|browser|)test\.cc': [
     54     "+chrome/browser",
     55   ],
     56   # TODO(erikwright): Bring this list to zero.
     57   #
     58   # Do not add to the list of temporarily-allowed dependencies below,
     59   # and please do not introduce more #includes of these files.
     60   '.*_[a-z]*test\.cc': [
     61     "!chrome/browser/bookmarks/bookmark_utils.h",
     62   ]
     63 }
     64