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_supported_formats_receiver.h" | 5 #include "services/video_capture/mock_supported_formats_receiver.h" |
6 | 6 |
7 namespace video_capture { | 7 namespace video_capture { |
8 | 8 |
9 MockSupportedFormatsReceiver::MockSupportedFormatsReceiver() = default; | 9 MockSupportedFormatsReceiver::MockSupportedFormatsReceiver() = default; |
10 | 10 |
11 MockSupportedFormatsReceiver::~MockSupportedFormatsReceiver() = default; | 11 MockSupportedFormatsReceiver::~MockSupportedFormatsReceiver() = default; |
12 | 12 |
13 void MockSupportedFormatsReceiver::HandleGetSupportedFormatsCallback( | |
14 std::vector<mojom::VideoCaptureFormatPtr> formats) { | |
15 OnGetSupportedFormatsCallback(formats); | |
16 } | |
17 | |
18 } // namespace video_capture | 13 } // namespace video_capture |
OLD | NEW |