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/display_compositor", "+components/filesystem", "+components/leveldb", "+components/link_header_util", "+components/metrics", "+components/metrics:single_sample_metrics", "+components/mime_util", "+components/payments", "+components/profile_service", "+components/rappor/public", "+components/scheduler/common", "+components/tracing", "+components/ukm", "+components/url_formatter", "+components/viz", "+content/app/strings/grit", # For generated headers "+content/public/browser", "+device/gamepad", # For gamepad API "+device/generic_sensor", # For sensors service. "+device/geolocation", "+device/nfc", "+device/power_save_blocker", "+device/screen_orientation/public/interfaces", "+device/sensors", "+device/vr", # For WebVR API "+device/wake_lock/public/interfaces", # 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", "+ui/vector_icons", "+ui/webui", "+win8/util", # 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/re2", "+third_party/zlib", # Allow non-browser Chrome OS code to be used. "+chromeos", "+third_party/cros_system_api", # 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/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/WebFeaturePolicy.h", "+third_party/WebKit/public/platform/WebFeaturePolicyFeature.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/WebScreenInfo.h", "+third_party/WebKit/public/platform/WebSecurityStyle.h", "+third_party/WebKit/public/platform/WebTouchEvent.h", "+third_party/WebKit/public/platform/WebTextInputType.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/indexeddb/WebIDBDatabaseException.h", "+third_party/WebKit/public/platform/modules/indexeddb/WebIDBTypes.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/mediasession/media_session.mojom.h", "+third_party/WebKit/public/platform/modules/notifications/WebNotificationConstants.h", "+third_party/WebKit/public/platform/modules/notifications/notification.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/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/push_messaging/WebPushPermissionStatus.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/WebServiceWorkerCacheError.h", "+third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerError.h", "+third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerEventResult.h", "+third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerResponseError.h", "+third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerResponseType.h", "+third_party/WebKit/public/platform/modules/serviceworker/WebServiceWorkerState.h", "+third_party/WebKit/public/platform/modules/serviceworker/service_worker_event_status.mojom.h", "+third_party/WebKit/public/platform/modules/serviceworker/service_worker_stream_handle.mojom.h", "+third_party/WebKit/public/platform/modules/websockets/websocket.mojom.h", "+third_party/WebKit/public/public_features.h", "+third_party/WebKit/public/web/WebAXEnums.h", "+third_party/WebKit/public/web/WebCompositionUnderline.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/WebMediaPlayerAction.h", "+third_party/WebKit/public/web/WebPluginAction.h", "+third_party/WebKit/public/web/WebPopupType.h", "+third_party/WebKit/public/web/WebSandboxFlags.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/mac/WebScrollbarTheme.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. ]