include_rules = [
  "+components/translate/core/language_detection",
  "+content/public/child",
  "+content/public/renderer",

  "+gin",
  "+net/base/backoff_entry.h",

  # For net::LOAD_MAYBE_USER_GESTURE. Will be removed as
  # per crbug.com/516495
  "+net/base/load_flags.h",

  "+third_party/skia/include/core",
  "+third_party/cld_3",

  "+third_party/blink/public/mojom/devtools/console_message.mojom.h",
  "+third_party/blink/public/mojom/frame/document_interface_broker.mojom.h",
  "+third_party/blink/public/mojom/service_worker/service_worker_registration.mojom.h",
  "+third_party/blink/public/platform",
  "+third_party/blink/public/web",
  "+third_party/zlib/google/compression_utils.h",

  "+tools/json_schema_compiler",

  "-v8",
  "+v8/include",

  "+storage/common/fileapi",

  "+services/network/public",
  "+services/service_manager/public/cpp",
]

specific_include_rules = {
  ".*(test|test_util)\.(cc|h)$": [
    # Temporarily allowed testing includes.  See above.
    # TODO(devlin): Ideally, we'd remove these (or move the tests into
    # //chrome). See https://crbug.com/773004.
    "+chrome/test/base/chrome_render_view_test.h",
  ],
  "extension_throttle_manager.cc": [
    # For net::IsLocalhost.
    "+net/base/url_util.h",
  ],
  "extension_throttle_unittest.cc": [
    "+net/url_request/redirect_info.h",
  ],
}
