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

Unified Diff: content/browser/media/session/pepper_player_delegate.cc

Issue 2871583004: Rename --enable-default-media-session to --enable-audio-focus. (Closed)
Patch Set: Created 3 years, 7 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/media/session/pepper_playback_observer.cc ('k') | media/base/media_switches.h » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: content/browser/media/session/pepper_player_delegate.cc
diff --git a/content/browser/media/session/pepper_player_delegate.cc b/content/browser/media/session/pepper_player_delegate.cc
index b34fe574c4ee5140ac5c36fd18199faf072605c7..a36a4c301e6f909ab1d161e9ccec42c6e5011f6a 100644
--- a/content/browser/media/session/pepper_player_delegate.cc
+++ b/content/browser/media/session/pepper_player_delegate.cc
@@ -17,8 +17,8 @@ const double kDuckVolume = 0.2f;
bool ShouldDuckFlash() {
return base::CommandLine::ForCurrentProcess()->GetSwitchValueASCII(
- switches::kEnableDefaultMediaSession) ==
- switches::kEnableDefaultMediaSessionDuckFlash;
+ switches::kEnableAudioFocus) ==
+ switches::kEnableAudioFocusDuckFlash;
}
} // anonymous namespace
« no previous file with comments | « content/browser/media/session/pepper_playback_observer.cc ('k') | media/base/media_switches.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698