chromium/extensions/renderer/DEPS

include_rules = [
  "+components/pdf/common/pdf_util.h",
  "+components/translate/core/language_detection",
  "+content/public/renderer",

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

  "+pdf/buildflags.h",

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

  "+third_party/blink/public/common/associated_interfaces/associated_interface_provider.h",
  "+third_party/blink/public/common/associated_interfaces/associated_interface_registry.h",
  "+third_party/blink/public/common/logging/logging_utils.h",
  "+third_party/blink/public/common/page/browsing_context_group_info.h",
  "+third_party/blink/public/common/security/protocol_handler_security_level.h",
  "+third_party/blink/public/common/tokens/tokens.h",
  "+third_party/blink/public/mojom/devtools/console_message.mojom.h",
  "+third_party/blink/public/mojom/loader/transferrable_url_loader.mojom.h",
  "+third_party/blink/public/mojom/frame/user_activation_notification_type.mojom.h",
  "+third_party/blink/public/mojom/page/page.mojom.h",
  "+third_party/blink/public/mojom/page/prerender_page_param.mojom.h",
  "+third_party/blink/public/mojom/partitioned_popins/partitioned_popin_params.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",

  "+ui/accessibility",
  "+ui/strings/grit/auto_image_annotation_strings.h",

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

  "+storage/common/file_system",

  "+services/accessibility/public/mojom",
  "+services/metrics/public/cpp",
  "+services/network/public",
  "+services/service_manager/public/cpp",
]

specific_include_rules = {
  "extension_localization_throttle_unittest.cc": [
    "+net/base/request_priority.h",
    "+services/network/test/test_url_loader_client.h",
  ],
  "extension_throttle_manager.cc": [
    # For net::IsLocalhost.
    "+net/base/url_util.h",
  ],
  "extension_throttle_unittest.cc": [
    "+net/url_request/redirect_info.h",
  ],

  # The following could be hoisted up (they don't violate any conceptual
  # layering), but they're really only needed here, and localization_peer is
  # a bit unique.
  "localization_peer.cc": [
    "+net/http/http_response_headers.h",
  ],
  "localization_peer_unittest.cc": [
    "+net/url_request/redirect_info.h",
  ]
}