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

Unified Diff: chrome/browser/about_flags.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 | « no previous file | chrome/browser/chromeos/accessibility/accessibility_manager.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 174c87c5314b4ce35f709385a69c426aac2abdf7..1f78f4838d33386d847bfe9640863914fa6e295d 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -693,14 +693,13 @@ const FeatureEntry::Choice kSSLVersionMaxChoices[] = {
};
#if !defined(OS_ANDROID)
-const FeatureEntry::Choice kEnableDefaultMediaSessionChoices[] = {
- {flag_descriptions::kEnableDefaultMediaSessionDisabled, "", ""},
- {flag_descriptions::kEnableDefaultMediaSessionEnabled,
- switches::kEnableDefaultMediaSession, ""},
+const FeatureEntry::Choice kEnableAudioFocusChoices[] = {
+ {flag_descriptions::kEnableAudioFocusDisabled, "", ""},
+ {flag_descriptions::kEnableAudioFocusEnabled, switches::kEnableAudioFocus,
+ ""},
#if BUILDFLAG(ENABLE_PLUGINS)
- {flag_descriptions::kEnableDefaultMediaSessionEnabledDuckFlash,
- switches::kEnableDefaultMediaSession,
- switches::kEnableDefaultMediaSessionDuckFlash},
+ {flag_descriptions::kEnableAudioFocusEnabledDuckFlash,
+ switches::kEnableAudioFocus, switches::kEnableAudioFocusDuckFlash},
#endif // BUILDFLAG(ENABLE_PLUGINS)
};
#endif // !defined(OS_ANDROID)
@@ -2535,10 +2534,9 @@ const FeatureEntry kFeatureEntries[] = {
FEATURE_VALUE_TYPE(features::kEnumerateAudioDevices)},
#endif // OS_CHROMEOS
#if !defined(OS_ANDROID)
- {"enable-default-media-session",
- flag_descriptions::kEnableDefaultMediaSessionName,
- flag_descriptions::kEnableDefaultMediaSessionDescription, kOsDesktop,
- MULTI_VALUE_TYPE(kEnableDefaultMediaSessionChoices)},
+ {"enable-audio-focus", flag_descriptions::kEnableAudioFocusName,
+ flag_descriptions::kEnableAudioFocusDescription, kOsDesktop,
+ MULTI_VALUE_TYPE(kEnableAudioFocusChoices)},
#endif // !OS_ANDROID
#if defined(OS_ANDROID)
{"modal-permission-prompts", flag_descriptions::kModalPermissionPromptsName,
« no previous file with comments | « no previous file | chrome/browser/chromeos/accessibility/accessibility_manager.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698