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_MOCK_DEVICE_VIDEO_CAPTURE_SERVICE_TEST_H_ | 5 #ifndef SERVICES_VIDEO_CAPTURE_MOCK_DEVICE_VIDEO_CAPTURE_SERVICE_TEST_H_ |
6 #define SERVICES_VIDEO_CAPTURE_MOCK_DEVICE_VIDEO_CAPTURE_SERVICE_TEST_H_ | 6 #define SERVICES_VIDEO_CAPTURE_MOCK_DEVICE_VIDEO_CAPTURE_SERVICE_TEST_H_ |
7 | 7 |
8 #include "services/shell/public/cpp/service_test.h" | 8 #include "services/shell/public/cpp/service_test.h" |
9 #include "services/video_capture/mock_device_descriptor_receiver.h" | 9 #include "services/video_capture/mock_device_descriptor_receiver.h" |
10 #include "services/video_capture/mock_video_capture_device_client.h" | 10 #include "services/video_capture/mock_video_capture_device_client.h" |
(...skipping 13 matching lines...) Expand all Loading... |
24 protected: | 24 protected: |
25 mojom::VideoCaptureServicePtr service_; | 25 mojom::VideoCaptureServicePtr service_; |
26 mojom::VideoCaptureDeviceFactoryPtr factory_; | 26 mojom::VideoCaptureDeviceFactoryPtr factory_; |
27 MockDeviceDescriptorReceiver descriptor_receiver_; | 27 MockDeviceDescriptorReceiver descriptor_receiver_; |
28 | 28 |
29 std::unique_ptr<MockVideoCaptureDeviceImpl> mock_device_; | 29 std::unique_ptr<MockVideoCaptureDeviceImpl> mock_device_; |
30 std::unique_ptr<MockVideoCaptureDeviceClient> mock_client_; | 30 std::unique_ptr<MockVideoCaptureDeviceClient> mock_client_; |
31 mojom::MockVideoCaptureDevicePtr mock_device_proxy_; | 31 mojom::MockVideoCaptureDevicePtr mock_device_proxy_; |
32 mojom::VideoCaptureDeviceProxyPtr device_proxy_; | 32 mojom::VideoCaptureDeviceProxyPtr device_proxy_; |
33 mojom::VideoCaptureDeviceClientPtr mock_client_proxy_; | 33 mojom::VideoCaptureDeviceClientPtr mock_client_proxy_; |
34 mojom::VideoCaptureFormatPtr requested_format_; | 34 media::VideoCaptureFormat requested_format_; |
35 }; | 35 }; |
36 | 36 |
37 } // namespace video_capture | 37 } // namespace video_capture |
38 | 38 |
39 #endif // SERVICES_VIDEO_CAPTURE_MOCK_DEVICE_VIDEO_CAPTURE_SERVICE_TEST_H_ | 39 #endif // SERVICES_VIDEO_CAPTURE_MOCK_DEVICE_VIDEO_CAPTURE_SERVICE_TEST_H_ |
OLD | NEW |