chromium/third_party/blink/renderer/modules/mediastream/DEPS

include_rules = [
    # TODO(crbug.com/923394): Remove these dependencies once std types are
    # migrated to WTF types in mediastream.
    "+base/strings/utf_string_conversions.h",
    "+base/strings/string_number_conversions.h",
    "+base/strings/stringprintf.h",
    "+base/containers/flat_map.h",

    # TODO(crbug.com/923394): Remove these dependencies once per-frame
    # task runners are used in all cases.
    "+base/threading/sequenced_task_runner_handle.h",
    "+base/threading/thread_task_runner_handle.h",

    # web_media_player_ms{_compositor}.cc includes.
    "+base/containers/circular_deque.h",
    "+base/values.h",
    "+cc/layers/surface_layer.h",
    "+cc/layers/video_frame_provider_client_impl.h",
    "+cc/layers/video_frame_provider.h",
    "+cc/layers/video_layer.h",
    "+cc/paint/skia_paint_canvas.h",
    "+media/media_buildflags.h",
    "+media/filters/video_renderer_algorithm.h",
    "+media/renderers/paint_canvas_video_renderer.h",
    "+media/video/gpu_memory_buffer_video_frame_pool.h",
    "+services/viz/public/cpp/gpu/context_provider_command_buffer.h",
    "+skia/ext/platform_canvas.h",

    "+base/files/file.h",
    "+base/metrics/field_trial.h",

    "+base/unguessable_token.h",
    "+base/uuid.h",
    "+media/audio",
    "+media/base",
    "+media/capture",
    "+media/mojo/mojom",
    "+media/webrtc/audio_delay_stats_reporter.h",
    "+media/webrtc/audio_processor.h",
    "+media/webrtc/audio_processor_controls.h",
    "+media/webrtc/constants.h",
    "+media/webrtc/scoped_mediastream_trace.h",
    "+media/webrtc/webrtc_features.h",
    "-third_party/blink/renderer/modules",
    "+third_party/blink/renderer/modules/event_modules.h",
    "+third_party/blink/renderer/modules/event_target_modules.h",
    "+third_party/blink/renderer/modules/imagecapture",
    "+third_party/blink/renderer/modules/mediastream",
    "+third_party/blink/renderer/modules/modules_export.h",
    "+third_party/blink/renderer/modules/peerconnection",
    "+third_party/blink/renderer/modules/screen_details/screen_detailed.h",
    "+third_party/blink/renderer/modules/screen_details/screen_details.h",
    "+third_party/blink/renderer/modules/webrtc",
    "+ui/display/types/display_constants.h",
    "+ui/gfx/geometry/size.h",
]

specific_include_rules = {
    ".*test\.cc" : [
        "+base/numerics/ranges.h",
        "+base/run_loop.h",
        "+cc/layers/layer.h",
        "+media/video/fake_gpu_memory_buffer.h",
        "+media/video/mock_gpu_memory_buffer_video_frame_pool.h",
        "+media/video/mock_gpu_video_accelerator_factories.h",

        "+base/files/file_path.h",
        "+base/files/file_util.h",
        "+base/files/scoped_temp_dir.h",
        "+base/memory/aligned_memory.h",
        "+base/path_service.h",
        "+base/test/bind.h",
        "+base/threading/thread.h",
        "+third_party/blink/renderer/platform/testing/video_frame_utils.h",
    ],
}