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

Unified Diff: content/renderer/media/video_capture_impl_manager_unittest.cc

Issue 2407623002: VideoCapture: migrate last Renderer-->Host msg and start Host-->Renderer migration (Closed)
Patch Set: chfremer@ 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
« no previous file with comments | « content/renderer/media/video_capture_impl.cc ('k') | content/renderer/media/video_capture_impl_unittest.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/renderer/media/video_capture_impl_manager_unittest.cc
diff --git a/content/renderer/media/video_capture_impl_manager_unittest.cc b/content/renderer/media/video_capture_impl_manager_unittest.cc
index 282e0885d274698d1c566840aed720a077948f26..c2a6f40e9155c84e8c27e115169cc00fba64283a 100644
--- a/content/renderer/media/video_capture_impl_manager_unittest.cc
+++ b/content/renderer/media/video_capture_impl_manager_unittest.cc
@@ -64,7 +64,8 @@ class MockVideoCaptureImpl : public VideoCaptureImpl,
private:
void Start(int32_t device_id,
int32_t session_id,
- const media::VideoCaptureParams& params) override {
+ const media::VideoCaptureParams& params,
+ mojom::VideoCaptureObserverPtr observer) override {
// For every Start(), expect a corresponding Stop() call.
EXPECT_CALL(*this, Stop(_));
}
@@ -80,6 +81,8 @@ class MockVideoCaptureImpl : public VideoCaptureImpl,
}
MOCK_METHOD1(RequestRefreshFrame, void(int32_t));
+ MOCK_METHOD4(ReleaseBuffer,
+ void(int32_t, int32_t, const gpu::SyncToken&, double));
MOCK_METHOD3(GetDeviceSupportedFormats,
void(int32_t,
int32_t,
« no previous file with comments | « content/renderer/media/video_capture_impl.cc ('k') | content/renderer/media/video_capture_impl_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698