include_rules = [
  "-chrome",
  "-content",
  "+chrome/browser/google_apis",

  # Should use ThreadChecker instead of BrowserThread::CurrentlyOn()
  # crbug.com/251577
  "!content/public/browser/browser_thread.h",
]

# Exceptions are temporarily needed. crbug.com/146989
specific_include_rules = {
  ".*requests.*unittest\.cc": [
    "!chrome/test/base/testing_profile.h",
    "!content/public/test/test_browser_thread_bundle.h",
  ],
  "time_util_unittest\.cc": [
    "!chrome/browser/chromeos/system/timezone_settings.h",
  ],
  "auth_service\.(h|cc)": [
    "!chrome/browser/profiles/profile.h",
    "!chrome/browser/signin/token_service_factory.h",
    "!chrome/browser/signin/token_service.h",
    "!chrome/common/chrome_notification_types.h",
    "!content/public/browser/notification_details.h",
    "!content/public/browser/notification_observer.h",
    "!content/public/browser/notification_registrar.h",
    "!content/public/browser/notification_source.h",
    "!content/public/browser/notification_types.h",
  ],
}
