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

Unified Diff: chrome/browser/about_flags.cc

Issue 12096004: Made --enable-rich-notifications flag available to message_center. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rebased + fixed build issue. Created 7 years, 11 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/notifications/message_center_notifications_browsertest.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 dac5c17b8dbfbb9550628349bc85b377e974a9f9..e68d04f09e7a488a7c600b927807d839eb9bba6a 100644
--- a/chrome/browser/about_flags.cc
+++ b/chrome/browser/about_flags.cc
@@ -32,6 +32,10 @@
#include "ui/gl/gl_switches.h"
#include "ui/surface/surface_switches.h"
+#if defined(ENABLE_MESSAGE_CENTER)
+#include "ui/message_center/message_center_switches.h"
+#endif
+
#if defined(USE_ASH)
#include "ash/ash_switches.h"
#endif
@@ -1227,13 +1231,15 @@ const Experiment kExperiments[] = {
kOsWin | kOsMac | kOsLinux,
SINGLE_VALUE_TYPE(switches::kLoadCloudPolicyOnSignin)
},
+#if defined(ENABLE_MESSAGE_CENTER)
{
"enable-rich-notifications",
IDS_FLAGS_ENABLE_RICH_NOTIFICATIONS_NAME,
IDS_FLAGS_ENABLE_RICH_NOTIFICATIONS_DESCRIPTION,
kOsWin | kOsCrOS,
- SINGLE_VALUE_TYPE(switches::kEnableRichNotifications)
+ SINGLE_VALUE_TYPE(message_center::switches::kEnableRichNotifications)
},
+#endif
{
"full-history-sync",
IDS_FLAGS_FULL_HISTORY_SYNC_NAME,
« no previous file with comments | « no previous file | chrome/browser/notifications/message_center_notifications_browsertest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698