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

Unified Diff: services/video_capture/mock_device_video_capture_service_test.h

Issue 2378943002: Let clients interact with VideoCaptureDeviceClient instead of VideoCaptureDevice (Closed)
Patch Set: mcasas comments 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 side-by-side diff with in-line comments
Download patch
Index: services/video_capture/mock_device_video_capture_service_test.h
diff --git a/services/video_capture/mock_device_video_capture_service_test.h b/services/video_capture/mock_device_video_capture_service_test.h
index d0597c3051c9b9aa1453dcabd3faf08313591d2d..466d08652d99108b8ab38b5fdebfc71083dcdaab 100644
--- a/services/video_capture/mock_device_video_capture_service_test.h
+++ b/services/video_capture/mock_device_video_capture_service_test.h
@@ -7,8 +7,8 @@
#include "services/shell/public/cpp/service_test.h"
#include "services/video_capture/mock_device_descriptor_receiver.h"
-#include "services/video_capture/mock_video_capture_device_client.h"
#include "services/video_capture/mock_video_capture_device_impl.h"
+#include "services/video_capture/mock_video_frame_receiver.h"
#include "services/video_capture/public/interfaces/video_capture_service.mojom.h"
namespace video_capture {
@@ -27,10 +27,10 @@ class MockDeviceVideoCaptureServiceTest : public shell::test::ServiceTest {
MockDeviceDescriptorReceiver descriptor_receiver_;
std::unique_ptr<MockVideoCaptureDeviceImpl> mock_device_;
- std::unique_ptr<MockVideoCaptureDeviceClient> mock_client_;
+ std::unique_ptr<MockVideoFrameReceiver> mock_receiver_;
mojom::MockVideoCaptureDevicePtr mock_device_proxy_;
mojom::VideoCaptureDeviceProxyPtr device_proxy_;
- mojom::VideoCaptureDeviceClientPtr mock_client_proxy_;
+ mojom::VideoFrameReceiverPtr mock_receiver_proxy_;
mojom::VideoCaptureFormatPtr requested_format_;
};

Powered by Google App Engine
This is Rietveld 408576698