include_rules = [
  # Allow inclusion of specific components that we depend on.
  # See comment in content/DEPS for which components are allowed.
  "+components/discardable_memory/common",
  "+components/discardable_memory/service",
  "+components/download/downloader/in_progress",
  "+components/filesystem",
  "+components/leveldb",
  "+components/link_header_util",
  "+components/metrics",
  "+components/metrics:single_sample_metrics",
  "+components/network_session_configurator/common",
  "+components/offline_pages/features/features.h",
  "+components/offline_pages/core/request_header",
  "+components/payments",
  "+components/profile_service",
  "+components/rappor/public",
  "+components/tracing",
  "+components/ukm",
  "+components/url_formatter",
  "+components/viz",
  "+components/cbor",

  "+content/app/strings/grit",  # For generated headers
  "+content/public/browser",
  "+device/base/synchronization",
  "+device/gamepad", # For gamepad API
  "+device/geolocation",
  "+device/nfc",
  "+device/screen_orientation/public/interfaces",
  "+device/sensors",
  "+device/vr",  # For WebVR API
  # This can only be used on POSIX, in particular it mustn't be used on Windows
  # in the browser DLL.
  "+gin/v8_initializer.h",
  "+mojo",
  "+services",
  "+sql",
  "+ui/aura_extra",
  "+components/vector_icons",
  "+ui/webui",

  # In general, //content shouldn't depend on //device.
  # This is the an exception.
  "+device/udev_linux",  # For udev utility and wrapper library.

  # Explicitly disallow using SyncMessageFilter to prevent browser from
  # sending synchronous IPC messages on non-UI threads.
  "-ipc/ipc_sync_message_filter.h",

  # Other libraries.
  "+third_party/iaccessible2",
  "+third_party/isimpledom",
  "+third_party/khronos",   # For enum definitions only
  "+third_party/libaom/av1_features.h",
  "+third_party/re2",
  "+third_party/zlib",

  # Allow non-browser Chrome OS code to be used.
  "+chromeos",
  "+third_party/cros_system_api",

  # Temporary include to allow easier transition to using a network service.
  # TODO(mmenke): Remove this when the network service ships.
  "+content/network",

  # No inclusion of WebKit from the browser, other than strictly enum/POD,
  # header-only types, and some selected common code.
  "-third_party/WebKit",
  "+third_party/WebKit/common/feature_policy/feature_policy.h",
  "+third_party/WebKit/common/feature_policy/feature_policy_feature.h",
  "+third_party/WebKit/public/platform/WebAddressSpace.h",
  "+third_party/WebKit/public/platform/WebContentSecurityPolicy.h",
  "+third_party/WebKit/public/platform/WebCursorInfo.h",
  "+third_party/WebKit/public/platform/WebDisplayMode.h",
  "+third_party/WebKit/public/platform/WebDragOperation.h",
  "+third_party/WebKit/public/platform/WebFocusType.h",
  "+third_party/WebKit/public/platform/WebGestureEvent.h",
  "+third_party/WebKit/public/platform/WebInputEvent.h",
  "+third_party/WebKit/public/platform/WebInsecureRequestPolicy.h",
  "+third_party/WebKit/public/platform/WebKeyboardEvent.h",
  "+third_party/WebKit/public/platform/WebMixedContentContextType.h",
  "+third_party/WebKit/public/platform/WebMouseEvent.h",
  "+third_party/WebKit/public/platform/WebMouseWheelEvent.h",
  "+third_party/WebKit/public/platform/WebPageVisibilityState.h",
  "+third_party/WebKit/public/platform/WebReferrerPolicy.h",
  "+third_party/WebKit/public/platform/WebRemoteFrameProperties.h",
  "+third_party/WebKit/public/platform/WebScreenInfo.h",
  "+third_party/WebKit/public/platform/WebScrollIntoViewParams.h",
  "+third_party/WebKit/public/platform/WebSecurityStyle.h",
  "+third_party/WebKit/public/platform/WebSuddenTerminationDisablerType.h",
  "+third_party/WebKit/public/platform/WebTouchEvent.h",
  "+third_party/WebKit/public/platform/WebTextInputType.h",
  "+third_party/WebKit/public/platform/mac/WebScrollbarTheme.h",
  "+third_party/WebKit/public/platform/modules/locks/lock_manager.mojom.h",
  "+third_party/WebKit/public/platform/modules/indexeddb/WebIDBDatabaseException.h",
  "+third_party/WebKit/public/platform/modules/indexeddb/WebIDBTypes.h",
  "+third_party/WebKit/public/platform/modules/notifications/WebNotificationConstants.h",
  "+third_party/WebKit/public/platform/modules/screen_orientation/WebLockOrientationError.h",
  "+third_party/WebKit/public/platform/modules/screen_orientation/WebScreenOrientationLockType.h",
  "+third_party/WebKit/public/platform/modules/screen_orientation/WebScreenOrientationType.h",
  "+third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerError.h",
  "+third_party/WebKit/public/public_features.h",
  "+third_party/WebKit/public/web/devtools_agent.mojom.h",
  "+third_party/WebKit/public/web/devtools_frontend.mojom.h",
  "+third_party/WebKit/public/web/WebAXEnums.h",
  "+third_party/WebKit/public/web/WebConsoleMessage.h",
  "+third_party/WebKit/public/web/WebContextMenuData.h",
  "+third_party/WebKit/public/web/WebDeviceEmulationParams.h",
  "+third_party/WebKit/public/web/WebDragStatus.h",
  "+third_party/WebKit/public/web/WebFindOptions.h",
  "+third_party/WebKit/public/web/WebFrameSerializerCacheControlPolicy.h",
  "+third_party/WebKit/public/web/WebImeTextSpan.h",
  "+third_party/WebKit/public/web/WebMediaPlayerAction.h",
  "+third_party/WebKit/public/web/WebPluginAction.h",
  "+third_party/WebKit/public/web/WebPopupType.h",
  "+third_party/WebKit/common/sandbox_flags.h",
  "+third_party/WebKit/public/web/WebSerializedScriptValueVersion.h",
  "+third_party/WebKit/public/web/WebSharedWorkerCreationContextType.h",
  "+third_party/WebKit/public/web/WebSharedWorkerCreationErrors.h",
  "+third_party/WebKit/public/web/WebTextDirection.h",
  "+third_party/WebKit/public/web/WebTreeScopeType.h",
  "+third_party/WebKit/public/web/WebTriggeringEventInfo.h",

  # Unlike other WebKit directories WebKit/common is for the files that
  # are commonly referenced by renderer-side and browser-side code, and
  # does not use Blink types like WTF.
  "+third_party/WebKit/common",

  # Allow mojo generated files in WebKit. These files use STL types and
  # don't use WTF types.
  "+third_party/WebKit/public/platform/dedicated_worker_factory.mojom.h",
  "+third_party/WebKit/public/platform/input_host.mojom.h",
  "+third_party/WebKit/public/platform/input_messages.mojom.h",
  "+third_party/WebKit/public/platform/mime_registry.mojom.h",
  "+third_party/WebKit/public/platform/modules/background_sync/background_sync.mojom.h",
  "+third_party/WebKit/public/platform/modules/bluetooth/web_bluetooth.mojom.h",
  "+third_party/WebKit/public/platform/modules/broadcastchannel/broadcast_channel.mojom.h",
  "+third_party/WebKit/public/platform/modules/cache_storage/cache_storage.mojom.h",
  "+third_party/WebKit/public/platform/modules/geolocation/geolocation_service.mojom.h",
  "+third_party/WebKit/public/platform/modules/installedapp/installed_app_provider.mojom.h",
  "+third_party/WebKit/public/platform/modules/installedapp/related_application.mojom.h",
  "+third_party/WebKit/public/platform/modules/keyboard_lock/keyboard_lock.mojom.h",
  "+third_party/WebKit/public/platform/modules/manifest/manifest_manager.mojom.h",
  "+third_party/WebKit/public/platform/modules/mediasession/media_session.mojom.h",
  "+third_party/WebKit/public/platform/modules/mediastream/media_devices.mojom.h",
  "+third_party/WebKit/public/platform/modules/notifications/notification_service.mojom.h",
  "+third_party/WebKit/public/platform/modules/offscreencanvas/offscreen_canvas_surface.mojom.h",
  "+third_party/WebKit/public/platform/modules/payments/payment_app.mojom.h",
  "+third_party/WebKit/public/platform/modules/permissions/permission.mojom.h",
  "+third_party/WebKit/public/platform/modules/permissions/permission_status.mojom.h",
  "+third_party/WebKit/public/platform/modules/presentation/presentation.mojom.h",
  "+third_party/WebKit/public/platform/modules/webauth/authenticator.mojom.h",
  "+third_party/WebKit/public/platform/modules/webdatabase/web_database.mojom.h",
  "+third_party/WebKit/public/platform/modules/websockets/websocket.mojom.h",
  "+third_party/WebKit/public/platform/oom_intervention.mojom.h",
  "+third_party/WebKit/public/platform/reporting.mojom.h",
  "+third_party/WebKit/public/platform/web_feature.mojom.h",

  # DO NOT ADD ANY CHROME OR COMPONENTS INCLUDES HERE!!!
  # See https://sites.google.com/a/chromium.org/dev/developers/content-module
  # for more information.
]
