Index: chrome/browser/notifications/message_center_notification_manager.cc |
diff --git a/chrome/browser/notifications/message_center_notification_manager.cc b/chrome/browser/notifications/message_center_notification_manager.cc |
index 28c5f795178c2f9ee2a680958fdadc54a4e88240..00a804c36b6dc853d02c5a07e3d88bbeec30d7df 100644 |
--- a/chrome/browser/notifications/message_center_notification_manager.cc |
+++ b/chrome/browser/notifications/message_center_notification_manager.cc |
@@ -13,6 +13,8 @@ |
#include "chrome/browser/extensions/api/notification_provider/notification_provider_api.h" |
#include "chrome/browser/notifications/desktop_notification_service.h" |
#include "chrome/browser/notifications/desktop_notification_service_factory.h" |
+#include "chrome/browser/notifications/extensions/extension_welcome_notification.h" |
+#include "chrome/browser/notifications/extensions/extension_welcome_notification_factory.h" |
#include "chrome/browser/notifications/fullscreen_notification_blocker.h" |
#include "chrome/browser/notifications/message_center_settings_controller.h" |
#include "chrome/browser/notifications/notification.h" |
@@ -122,7 +124,7 @@ void MessageCenterNotificationManager::Add(const Notification& notification, |
if (Update(notification, profile)) |
return; |
- DesktopNotificationServiceFactory::GetForProfile(profile)-> |
+ ExtensionWelcomeNotificationFactory::GetForBrowserContext(profile)-> |
ShowWelcomeNotificationIfNecessary(notification); |
// WARNING: You MUST update the message center via the notification within a |