| 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 #include "services/video_capture/mock_video_capture_device_client.h" | |
| 6 | |
| 7 namespace video_capture { | |
| 8 | |
| 9 MockVideoCaptureDeviceClient::MockVideoCaptureDeviceClient( | |
| 10 mojom::VideoCaptureDeviceClientRequest request) | |
| 11 : binding_(this, std::move(request)) {} | |
| 12 | |
| 13 MockVideoCaptureDeviceClient::~MockVideoCaptureDeviceClient() = default; | |
| 14 | |
| 15 void MockVideoCaptureDeviceClient::OnFrameAvailable( | |
| 16 media::mojom::VideoFramePtr frame) { | |
| 17 OnFrameAvailablePtr(&frame); | |
| 18 } | |
| 19 | |
| 20 } // namespace video_capture | |
| OLD | NEW |