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

Unified Diff: chrome/browser/about_flags.cc

Issue 2794103002: Add initial support for native Linux desktop notifications (Closed)
Patch Set: Refactor, move impl to chrome/browser/notifications Created 3 years, 9 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: chrome/browser/about_flags.cc
diff --git a/chrome/browser/about_flags.cc b/chrome/browser/about_flags.cc
index c33cfb5b45c39b76835c70a4a4a8b33cf8bd5114..0d2f78450a0036929d5f297e38c3fbe6e2374398 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -2485,6 +2485,12 @@ const FeatureEntry kFeatureEntries[] = {
kDelayNavigationFeatureVariations,
"DelayNavigation")},
+#if defined(OS_LINUX) && !defined(OS_CHROMEOS)
+ {"use-system-notifications", flag_descriptions::kUseSystemNotificationsName,
Peter Beverloo 2017/04/03 23:39:29 Can you reuse "enable-native-notifications" (alrea
Tom (Use chromium acct) 2017/04/04 02:43:16 Done.
+ flag_descriptions::kUseSystemNotificationsDescription, kOsLinux,
+ SINGLE_VALUE_TYPE(switches::kUseSystemNotifications)},
+#endif
+
// NOTE: Adding new command-line switches requires adding corresponding
// entries to enum "LoginCustomFlags" in histograms.xml. See note in
// histograms.xml and don't forget to run AboutFlagsHistogramTest unit test.

Powered by Google App Engine
This is Rietveld 408576698