| 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_FAKE_DEVICE_VIDEO_CAPTURE_SERVICE_TEST_H_ | 5 #ifndef SERVICES_VIDEO_CAPTURE_FAKE_DEVICE_VIDEO_CAPTURE_SERVICE_TEST_H_ |
| 6 #define SERVICES_VIDEO_CAPTURE_FAKE_DEVICE_VIDEO_CAPTURE_SERVICE_TEST_H_ | 6 #define SERVICES_VIDEO_CAPTURE_FAKE_DEVICE_VIDEO_CAPTURE_SERVICE_TEST_H_ |
| 7 | 7 |
| 8 #include "services/video_capture/video_capture_service_test.h" | 8 #include "services/video_capture/fake_device_descriptor_video_capture_service_te
st.h" |
| 9 | 9 |
| 10 namespace video_capture { | 10 namespace video_capture { |
| 11 | 11 |
| 12 // Test fixture that creates a proxy to the fake device provided by the fake | 12 // Test fixture that creates a proxy to the fake device provided by the fake |
| 13 // device factory. | 13 // device factory. |
| 14 class FakeDeviceVideoCaptureServiceTest : public VideoCaptureServiceTest { | 14 class FakeDeviceVideoCaptureServiceTest |
| 15 : public FakeDeviceDescriptorVideoCaptureServiceTest { |
| 15 public: | 16 public: |
| 16 FakeDeviceVideoCaptureServiceTest(); | 17 FakeDeviceVideoCaptureServiceTest(); |
| 17 ~FakeDeviceVideoCaptureServiceTest() override; | 18 ~FakeDeviceVideoCaptureServiceTest() override; |
| 18 | 19 |
| 19 void SetUp() override; | 20 void SetUp() override; |
| 20 | 21 |
| 21 protected: | 22 protected: |
| 22 mojom::VideoCaptureDeviceProxyPtr fake_device_proxy_; | 23 mojom::VideoCaptureDeviceProxyPtr fake_device_proxy_; |
| 23 }; | 24 }; |
| 24 | 25 |
| 25 } // namespace video_capture | 26 } // namespace video_capture |
| 26 | 27 |
| 27 #endif // SERVICES_VIDEO_CAPTURE_FAKE_DEVICE_VIDEO_CAPTURE_SERVICE_TEST_H_ | 28 #endif // SERVICES_VIDEO_CAPTURE_FAKE_DEVICE_VIDEO_CAPTURE_SERVICE_TEST_H_ |
| OLD | NEW |