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

Unified Diff: content/browser/renderer_host/media/video_capture_host_unittest.cc

Issue 2395163002: VideoCapture: migrate VideoCapture renderer-->host messages to mojo, part 2 (Closed)
Patch Set: rockot@s comments on renaming and return types 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/browser/renderer_host/media/video_capture_host.cc ('k') | content/common/BUILD.gn » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/renderer_host/media/video_capture_host_unittest.cc
diff --git a/content/browser/renderer_host/media/video_capture_host_unittest.cc b/content/browser/renderer_host/media/video_capture_host_unittest.cc
index 1e6caa0d3d7f56eb936edfbab5ca53c2625a8844..58ba4ceb8734176f21e1af7abc38eade4ec9044a 100644
--- a/content/browser/renderer_host/media/video_capture_host_unittest.cc
+++ b/content/browser/renderer_host/media/video_capture_host_unittest.cc
@@ -386,7 +386,7 @@ class VideoCaptureHostTest : public testing::Test {
media::VideoCaptureParams params;
params.requested_format = media::VideoCaptureFormat(
gfx::Size(352, 288), 30, media::PIXEL_FORMAT_I420);
- host_->OnStartCapture(kDeviceId, opened_session_id_, params);
+ host_->Start(kDeviceId, opened_session_id_, params);
run_loop.Run();
}
@@ -400,7 +400,7 @@ class VideoCaptureHostTest : public testing::Test {
media::VideoCaptureParams params;
params.requested_format = media::VideoCaptureFormat(
gfx::Size(352, 288), 30, media::PIXEL_FORMAT_I420);
- host_->OnStartCapture(kDeviceId, opened_session_id_, params);
+ host_->Start(kDeviceId, opened_session_id_, params);
host_->Stop(kDeviceId);
run_loop.RunUntilIdle();
WaitForVideoDeviceThread();
@@ -418,7 +418,7 @@ class VideoCaptureHostTest : public testing::Test {
media::VideoCaptureParams params;
params.requested_format = media::VideoCaptureFormat(
gfx::Size(352, 288), 30, media::PIXEL_FORMAT_I420);
- host_->OnResumeCapture(kDeviceId, opened_session_id_, params);
+ host_->Resume(kDeviceId, opened_session_id_, params);
run_loop.RunUntilIdle();
WaitForVideoDeviceThread();
}
@@ -438,7 +438,7 @@ class VideoCaptureHostTest : public testing::Test {
params.requested_format =
media::VideoCaptureFormat(gfx::Size(width, height), frame_rate);
host_->SetDumpVideo(true);
- host_->OnStartCapture(kDeviceId, opened_session_id_, params);
+ host_->Start(kDeviceId, opened_session_id_, params);
run_loop.Run();
}
#endif
« no previous file with comments | « content/browser/renderer_host/media/video_capture_host.cc ('k') | content/common/BUILD.gn » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698