Index: chrome/browser/chrome_content_browser_client.cc |
diff --git a/chrome/browser/chrome_content_browser_client.cc b/chrome/browser/chrome_content_browser_client.cc |
index cfe049364f861fb1b999ceb9ab4d5c3c4dcc302e..3c7b3e58fcb2c5d4b2895e65296c143677ffabb4 100644 |
--- a/chrome/browser/chrome_content_browser_client.cc |
+++ b/chrome/browser/chrome_content_browser_client.cc |
@@ -127,6 +127,7 @@ |
#include "ppapi/host/ppapi_host.h" |
#include "ui/base/l10n/l10n_util.h" |
#include "ui/base/resource/resource_bundle.h" |
+#include "ui/message_center/message_center_util.h" |
#include "webkit/glue/webpreferences.h" |
#include "webkit/plugins/plugin_switches.h" |
@@ -161,10 +162,6 @@ |
#include "chrome/browser/captive_portal/captive_portal_tab_helper.h" |
#endif |
-#if defined(ENABLE_MESSAGE_CENTER) |
-#include "ui/message_center/message_center_util.h" |
-#endif |
- |
#if defined(OS_ANDROID) |
#include "ui/base/ui_base_paths.h" |
#endif |
@@ -1227,10 +1224,8 @@ void ChromeContentBrowserClient::AppendExtraCommandLineSwitches( |
if (content::IsThreadedCompositingEnabled()) |
command_line->AppendSwitch(switches::kEnableThreadedCompositing); |
-#if defined(ENABLE_MESSAGE_CENTER) |
if (message_center::IsRichNotificationEnabled()) |
command_line->AppendSwitch(switches::kDisableHTMLNotifications); |
-#endif |
// Please keep this in alphabetical order. |
static const char* const kSwitchNames[] = { |