include_rules = [
  # The frame_host files should only call upwards in the layering via the
  # delegate interfaces.
  "-content/browser/web_contents",
  "-content/public/browser/web_contents.h",
  "-content/public/browser/web_contents_delegate.h",
  "-content/public/browser/web_contents_view.h",
]

specific_include_rules = {
  ".*_(unit|browser)test\.cc": [
    "+content/browser/web_contents",
    "+content/public/browser/web_contents.h",
    "+content/public/browser/web_contents_delegate.h",
  ],
  ".*interstitial_page_impl\.cc": [
    # TODO(nasko): This should be removed once we remove
    # WebContentsObserver as the method of telling interstitial pages to
    # clean themselves up.
    "+content/browser/web_contents",
    "+content/public/browser/web_contents_delegate.h",
  ],
}