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( |
10 mojom::VideoFrameReceiverRequest request) | 10 mojom::ReceiverRequest request) |
11 : binding_(this, std::move(request)) {} | 11 : binding_(this, std::move(request)) {} |
12 | 12 |
13 MockVideoFrameReceiver::~MockVideoFrameReceiver() = default; | 13 MockReceiver::~MockReceiver() = default; |
14 | 14 |
15 void MockVideoFrameReceiver::OnIncomingCapturedVideoFrame( | 15 void MockReceiver::OnIncomingCapturedVideoFrame( |
16 media::mojom::VideoFramePtr frame) { | 16 media::mojom::VideoFramePtr frame) { |
17 OnIncomingCapturedVideoFramePtr(&frame); | 17 OnIncomingCapturedVideoFramePtr(&frame); |
18 } | 18 } |
19 | 19 |
20 } // namespace video_capture | 20 } // namespace video_capture |
OLD | NEW |