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

Unified Diff: chrome/browser/about_flags.cc

Issue 2802243002: Guard native notification code under ENABLE_NATIVE_NOTIFICATIONS guards (Closed)
Patch Set: Guard native notification code under ENABLE_NATIVE_NOTIFICATIONS guards Created 3 years, 8 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 | no next file » | 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 d52f7355119297e2b95d40f09d3b034f4e81b4cd..d63b23ef8dcf7bdb520aeff97cff1dc7c52db92b 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -1528,11 +1528,11 @@ const FeatureEntry kFeatureEntries[] = {
{"translate-lang-by-ulp", flag_descriptions::kTranslateLanguageByUlpName,
flag_descriptions::kTranslateLanguageByUlpDescription, kOsAll,
FEATURE_VALUE_TYPE(translate::kTranslateLanguageByULP)},
-#if defined(OS_MACOSX) || (defined(OS_LINUX) && !defined(OS_CHROMEOS))
+#if BUILDFLAG(ENABLE_NATIVE_NOTIFICATIONS)
{"enable-native-notifications", flag_descriptions::kNotificationsNativeFlag,
flag_descriptions::kNotificationsNativeFlagDescription, kOsMac | kOsLinux,
FEATURE_VALUE_TYPE(features::kNativeNotifications)},
-#endif // defined(OS_MACOSX) || (defined(OS_LINUX) && !defined(OS_CHROMEOS))
+#endif // ENABLE_NATIVE_NOTIFICATIONS
#if defined(TOOLKIT_VIEWS)
{"disable-views-rect-based-targeting",
flag_descriptions::kViewsRectBasedTargetingName,
« no previous file with comments | « no previous file | no next file » | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698