| 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 #ifndef SERVICES_VIDEO_CAPTURE_TEST_FAKE_DEVICE_DESCRIPTOR_TEST_H_ | 5 #ifndef SERVICES_VIDEO_CAPTURE_TEST_FAKE_DEVICE_DESCRIPTOR_TEST_H_ |
| 6 #define SERVICES_VIDEO_CAPTURE_TEST_FAKE_DEVICE_DESCRIPTOR_TEST_H_ | 6 #define SERVICES_VIDEO_CAPTURE_TEST_FAKE_DEVICE_DESCRIPTOR_TEST_H_ |
| 7 | 7 |
| 8 #include "services/video_capture/test/service_test.h" | 8 #include "services/video_capture/test/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 ServiceTest { | 14 class FakeDeviceDescriptorTest : public ServiceTest { |
| 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 media::VideoCaptureDeviceDescriptor fake_device_descriptor_; | 22 media::VideoCaptureDeviceInfo fake_device_info_; |
| 23 }; | 23 }; |
| 24 | 24 |
| 25 } // namespace video_capture | 25 } // namespace video_capture |
| 26 | 26 |
| 27 #endif // SERVICES_VIDEO_CAPTURE_TEST_FAKE_DEVICE_DESCRIPTOR_TEST_H_ | 27 #endif // SERVICES_VIDEO_CAPTURE_TEST_FAKE_DEVICE_DESCRIPTOR_TEST_H_ |
| OLD | NEW |