Index: trunk/src/chrome/browser/chrome_content_browser_client.cc |
=================================================================== |
--- trunk/src/chrome/browser/chrome_content_browser_client.cc (revision 199638) |
+++ trunk/src/chrome/browser/chrome_content_browser_client.cc (working copy) |
@@ -128,7 +128,6 @@ |
#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" |
@@ -163,6 +162,10 @@ |
#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 |
@@ -1224,8 +1227,10 @@ |
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[] = { |