Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(324)

Side by Side Diff: services/video_capture/mock_device_descriptor_receiver.cc

Issue 2386183002: Replace manual conversions with Mojo type mappings
Patch Set: Created 4 years, 2 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View unified diff | Download patch
OLDNEW
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_device_descriptor_receiver.h" 5 #include "services/video_capture/mock_device_descriptor_receiver.h"
6 6
7 namespace video_capture { 7 namespace video_capture {
8 8
9 MockDeviceDescriptorReceiver::MockDeviceDescriptorReceiver() = default; 9 MockDeviceDescriptorReceiver::MockDeviceDescriptorReceiver() = default;
10 10
11 MockDeviceDescriptorReceiver::~MockDeviceDescriptorReceiver() = default; 11 MockDeviceDescriptorReceiver::~MockDeviceDescriptorReceiver() = default;
12 12
13 void MockDeviceDescriptorReceiver::HandleEnumerateDeviceDescriptorsCallback(
14 std::vector<mojom::VideoCaptureDeviceDescriptorPtr> descriptors) {
15 OnEnumerateDeviceDescriptorsCallback(descriptors);
16 }
17
18 } // namespace video_capture 13 } // namespace video_capture
OLDNEW
« no previous file with comments | « services/video_capture/mock_device_descriptor_receiver.h ('k') | services/video_capture/mock_device_factory.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698