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

Side by Side Diff: services/video_capture/fake_device_descriptor_test.h

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 #ifndef SERVICES_VIDEO_CAPTURE_FAKE_DEVICE_DESCRIPTOR_TEST_H_ 5 #ifndef SERVICES_VIDEO_CAPTURE_FAKE_DEVICE_DESCRIPTOR_TEST_H_
6 #define SERVICES_VIDEO_CAPTURE_FAKE_DEVICE_DESCRIPTOR_TEST_H_ 6 #define SERVICES_VIDEO_CAPTURE_FAKE_DEVICE_DESCRIPTOR_TEST_H_
7 7
8 #include "services/video_capture/video_capture_service_test.h" 8 #include "services/video_capture/video_capture_service_test.h"
9 9
10 namespace video_capture { 10 namespace video_capture {
11 11
12 // Test fixture that obtains the descriptor of the fake device by enumerating 12 // Test fixture that obtains the descriptor of the fake device by enumerating
13 // the devices of the fake device factory. 13 // the devices of the fake device factory.
14 class FakeDeviceDescriptorTest : public VideoCaptureServiceTest { 14 class FakeDeviceDescriptorTest : public VideoCaptureServiceTest {
15 public: 15 public:
16 FakeDeviceDescriptorTest(); 16 FakeDeviceDescriptorTest();
17 ~FakeDeviceDescriptorTest() override; 17 ~FakeDeviceDescriptorTest() override;
18 18
19 void SetUp() override; 19 void SetUp() override;
20 20
21 protected: 21 protected:
22 mojom::VideoCaptureDeviceDescriptorPtr fake_device_descriptor_; 22 media::VideoCaptureDeviceDescriptor fake_device_descriptor_;
23 }; 23 };
24 24
25 } // namespace video_capture 25 } // namespace video_capture
26 26
27 #endif // SERVICES_VIDEO_CAPTURE_FAKE_DEVICE_DESCRIPTOR_TEST_H_ 27 #endif // SERVICES_VIDEO_CAPTURE_FAKE_DEVICE_DESCRIPTOR_TEST_H_
OLDNEW
« no previous file with comments | « services/video_capture/device_factory_media_to_mojo_adapter.cc ('k') | services/video_capture/fake_device_descriptor_test.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698