Exclude Background Mode code from ChromeOS
Split "enable_background" to "enable_background_mode" and
"enable_background_contents" (latter one is used in chrome).
Bug: 527045
Change-Id: Ia8d96379b74ecc5fb54fe0e6688a79e0ef9fa767
Reviewed-on: https://chromium-review.googlesource.com/822475
Reviewed-by: Drew Wilson <[email protected]>
Reviewed-by: Jochen Eisinger <[email protected]>
Commit-Queue: Denis Kuznetsov <[email protected]>
Cr-Commit-Position: refs/heads/master@{#524374}
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index 060e6a4..60cb09d 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -2373,14 +2373,14 @@
flag_descriptions::kUseWinrtMidiApiDescription, kOsWin,
FEATURE_VALUE_TYPE(midi::features::kMidiManagerWinrt)},
#endif // OS_WIN
-#if BUILDFLAG(ENABLE_BACKGROUND)
+#if BUILDFLAG(ENABLE_BACKGROUND_MODE)
{"enable-push-api-background-mode",
flag_descriptions::kPushApiBackgroundModeName,
flag_descriptions::kPushApiBackgroundModeDescription,
kOsMac | kOsWin | kOsLinux,
ENABLE_DISABLE_VALUE_TYPE(switches::kEnablePushApiBackgroundMode,
switches::kDisablePushApiBackgroundMode)},
-#endif // BUILDFLAG(ENABLE_BACKGROUND)
+#endif // BUILDFLAG(ENABLE_BACKGROUND_MODE)
#if defined(OS_CHROMEOS)
{"cros-regions-mode", flag_descriptions::kCrosRegionsModeName,
flag_descriptions::kCrosRegionsModeDescription, kOsCrOS,