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

Unified Diff: media/blink/webmediaplayer_impl_unittest.cc

Issue 2696663002: Media Remoting: Don't auto suspend the media pipeline. (Closed)
Patch Set: Fix tests. Created 3 years, 10 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 | « media/blink/webmediaplayer_impl.cc ('k') | media/remoting/renderer_controller.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: media/blink/webmediaplayer_impl_unittest.cc
diff --git a/media/blink/webmediaplayer_impl_unittest.cc b/media/blink/webmediaplayer_impl_unittest.cc
index ffca873997294d97f4c61458f2db085d3cc02774..e66351be6ca3629b9923dc00bd4da347dd150d4d 100644
--- a/media/blink/webmediaplayer_impl_unittest.cc
+++ b/media/blink/webmediaplayer_impl_unittest.cc
@@ -252,23 +252,23 @@ class WebMediaPlayerImplTest : public testing::Test {
}
WebMediaPlayerImpl::PlayState ComputePlayState() {
- return wmpi_->UpdatePlayState_ComputePlayState(false, false, false, false);
+ return wmpi_->UpdatePlayState_ComputePlayState(false, true, false, false);
}
WebMediaPlayerImpl::PlayState ComputePlayState_FrameHidden() {
- return wmpi_->UpdatePlayState_ComputePlayState(false, false, false, true);
+ return wmpi_->UpdatePlayState_ComputePlayState(false, true, false, true);
}
WebMediaPlayerImpl::PlayState ComputePlayState_Suspended() {
- return wmpi_->UpdatePlayState_ComputePlayState(false, false, true, false);
+ return wmpi_->UpdatePlayState_ComputePlayState(false, true, true, false);
}
WebMediaPlayerImpl::PlayState ComputePlayState_Remote() {
- return wmpi_->UpdatePlayState_ComputePlayState(true, false, false, false);
+ return wmpi_->UpdatePlayState_ComputePlayState(true, true, false, false);
}
WebMediaPlayerImpl::PlayState ComputePlayState_BackgroundedStreaming() {
- return wmpi_->UpdatePlayState_ComputePlayState(false, true, false, true);
+ return wmpi_->UpdatePlayState_ComputePlayState(false, false, false, true);
}
bool IsSuspended() { return wmpi_->pipeline_controller_.IsSuspended(); }
« no previous file with comments | « media/blink/webmediaplayer_impl.cc ('k') | media/remoting/renderer_controller.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698