Index: chrome/browser/browser_process_impl.cc |
diff --git a/chrome/browser/browser_process_impl.cc b/chrome/browser/browser_process_impl.cc |
index 34edc3caa532928701879a7588c463a7aa92ac8d..d970636125e713a9ed9fb8edb8d450b035bd7d9b 100644 |
--- a/chrome/browser/browser_process_impl.cc |
+++ b/chrome/browser/browser_process_impl.cc |
@@ -633,7 +633,8 @@ NotificationUIManager* BrowserProcessImpl::notification_ui_manager() { |
} |
NotificationPlatformBridge* BrowserProcessImpl::notification_platform_bridge() { |
-#if defined(OS_ANDROID) || defined(OS_MACOSX) |
+#if defined(OS_ANDROID) || defined(OS_MACOSX) || \ |
+ (defined(OS_LINUX) && !defined(OS_CHROMEOS)) |
if (!created_notification_bridge_) |
CreateNotificationPlatformBridge(); |
return notification_bridge_.get(); |
@@ -1162,7 +1163,8 @@ void BrowserProcessImpl::CreateIntranetRedirectDetector() { |
} |
void BrowserProcessImpl::CreateNotificationPlatformBridge() { |
-#if (defined(OS_ANDROID) || defined(OS_MACOSX)) |
+#if defined(OS_ANDROID) || defined(OS_MACOSX) || \ |
+ (defined(OS_LINUX) && !defined(OS_CHROMEOS)) |
DCHECK(!notification_bridge_); |
notification_bridge_.reset(NotificationPlatformBridge::Create()); |
created_notification_bridge_ = true; |