| OLD | NEW |
| 1 // Copyright 2016 The Chromium Authors. All rights reserved. | 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 | 2 // Use of this source code is governed by a BSD-style license that can be |
| 3 // found in the LICENSE file. | 3 // found in the LICENSE file. |
| 4 | 4 |
| 5 #include "services/video_capture/mock_video_frame_receiver.h" | 5 #include "services/video_capture/mock_receiver.h" |
| 6 | 6 |
| 7 namespace video_capture { | 7 namespace video_capture { |
| 8 | 8 |
| 9 MockVideoFrameReceiver::MockVideoFrameReceiver( | 9 MockReceiver::MockReceiver(mojom::ReceiverRequest request) |
| 10 mojom::VideoFrameReceiverRequest request) | |
| 11 : binding_(this, std::move(request)) {} | 10 : binding_(this, std::move(request)) {} |
| 12 | 11 |
| 13 MockVideoFrameReceiver::~MockVideoFrameReceiver() = default; | 12 MockReceiver::~MockReceiver() = default; |
| 14 | 13 |
| 15 void MockVideoFrameReceiver::OnIncomingCapturedVideoFrame( | 14 void MockReceiver::OnIncomingCapturedVideoFrame( |
| 16 media::mojom::VideoFramePtr frame) { | 15 media::mojom::VideoFramePtr frame) { |
| 17 OnIncomingCapturedVideoFramePtr(&frame); | 16 OnIncomingCapturedVideoFramePtr(&frame); |
| 18 } | 17 } |
| 19 | 18 |
| 20 } // namespace video_capture | 19 } // namespace video_capture |
| OLD | NEW |