OLD | NEW |
(Empty) | |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. |
| 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. |
| 4 |
| 5 #ifndef SERVICES_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_CLIENT_IMPL_H_ |
| 6 #define SERVICES_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_CLIENT_IMPL_H_ |
| 7 |
| 8 #include "services/video_capture/public/interfaces/video_capture_device_client.m
ojom.h" |
| 9 |
| 10 namespace video_capture { |
| 11 |
| 12 // Implementation of the VideoCaptureDeviceClient Mojo interface. |
| 13 class VideoCaptureDeviceClientImpl : public mojom::VideoCaptureDeviceClient { |
| 14 public: |
| 15 // mojom::VideoCaptureDeviceClient: |
| 16 void OnFrameAvailable(media::mojom::VideoFramePtr frame) override; |
| 17 void OnError(const std::string& error) override; |
| 18 }; |
| 19 |
| 20 } // namespace video_capture |
| 21 |
| 22 #endif // SERVICES_VIDEO_CAPTURE_VIDEO_CAPTURE_DEVICE_CLIENT_IMPL_H_ |
OLD | NEW |