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

Unified Diff: content/browser/media/android/media_session_controller_unittest.cc

Issue 1671603002: Mute audio for Spitzer playbacks that haven't received focus yet. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix comment. Created 4 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
Index: content/browser/media/android/media_session_controller_unittest.cc
diff --git a/content/browser/media/android/media_session_controller_unittest.cc b/content/browser/media/android/media_session_controller_unittest.cc
index be56ccb31fb0b3bd72bde5daa8887a33da0e2e2e..ca3afb2463ec4f7c61bc2740379611485a0f1a83 100644
--- a/content/browser/media/android/media_session_controller_unittest.cc
+++ b/content/browser/media/android/media_session_controller_unittest.cc
@@ -146,6 +146,8 @@ TEST_F(MediaSessionControllerTest, VolumeMultiplier) {
EXPECT_TRUE(media_session()->IsControllable());
// Upon creation of the MediaSession the default multiplier will be sent.
+ // It's important to verify this since the renderer will mute the stream until
+ // playback focus has been approved.
EXPECT_TRUE(ReceivedMessageVolumeMultiplierUpdate<
MediaPlayerDelegateMsg_UpdateVolumeMultiplier>(1.0));
« no previous file with comments | « content/browser/media/android/media_session_browsertest.cc ('k') | content/renderer/media/renderer_webmediaplayer_delegate.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698