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

Unified Diff: chrome/browser/notifications/notification_ui_manager.cc

Issue 12096004: Made --enable-rich-notifications flag available to message_center. (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: 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
Index: chrome/browser/notifications/notification_ui_manager.cc
diff --git a/chrome/browser/notifications/notification_ui_manager.cc b/chrome/browser/notifications/notification_ui_manager.cc
index 0006496b683641003eddcfeaa926fcd43468e052..15246dda482549ecb90bf3571101f37c89f799bb 100644
--- a/chrome/browser/notifications/notification_ui_manager.cc
+++ b/chrome/browser/notifications/notification_ui_manager.cc
@@ -6,7 +6,7 @@
#include "base/command_line.h"
#include "chrome/browser/notifications/balloon_notification_ui_manager.h"
-#include "chrome/common/chrome_switches.h"
+#include "ui/message_center/message_center_switches.h"
Dmitry Titov 2013/01/26 02:54:50 #if defined(ENABLE_MESSAGE_CENTER) needed.
dharcourt 2013/01/26 04:07:04 Done.
#if defined(ENABLE_MESSAGE_CENTER)
#include "chrome/browser/browser_process.h"
@@ -16,7 +16,7 @@
// static
bool NotificationUIManager::DelegatesToMessageCenter() {
return CommandLine::ForCurrentProcess()->HasSwitch(
- switches::kEnableRichNotifications);
+ message_center::switches::kEnableRichNotifications);
Dmitry Titov 2013/01/26 02:54:50 Ditto here.
dharcourt 2013/01/26 04:07:04 Done.
return false;
}

Powered by Google App Engine
This is Rietveld 408576698