[go: nahoru, domu]

blob: 5aa995cabbc158aaf3fb3436a3b9c2ae58b0945f [file] [log] [blame]
// Copyright 2022 The Chromium Authors
// Use of this source code is governed by a BSD-style license that can be
// found in the LICENSE file.
#ifndef SERVICES_VIDEO_CAPTURE_DEVICE_H_
#define SERVICES_VIDEO_CAPTURE_DEVICE_H_
#include "services/video_capture/public/mojom/device.mojom.h"
#include "services/video_capture/public/mojom/video_effects_manager.mojom-forward.h"
namespace media {
class VideoFrameReceiver;
}
namespace video_capture {
class Device : public mojom::Device {
public:
virtual void StartInProcess(
const media::VideoCaptureParams& requested_settings,
const base::WeakPtr<media::VideoFrameReceiver>& frame_handler,
mojo::PendingRemote<mojom::VideoEffectsManager> video_effects_manager) {}
virtual void StopInProcess() {}
};
} // namespace video_capture
#endif // SERVICES_VIDEO_CAPTURE_DEVICE_H_