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

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

Issue 2875673002: Minimize the delegate dependencies for native extension notifications. (Closed)
Patch Set: disable non applicable tests Created 3 years, 7 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/native_notification_display_service.cc
diff --git a/chrome/browser/notifications/native_notification_display_service.cc b/chrome/browser/notifications/native_notification_display_service.cc
index 69d06a11a7b3e404674a689e971d58264541912b..2ffcd75fd3929c32998c54c28a73145fdbef9796 100644
--- a/chrome/browser/notifications/native_notification_display_service.cc
+++ b/chrome/browser/notifications/native_notification_display_service.cc
@@ -60,8 +60,9 @@ NativeNotificationDisplayService::NativeNotificationDisplayService(
AddNotificationHandler(NotificationCommon::PERSISTENT,
base::MakeUnique<PersistentNotificationHandler>());
#if BUILDFLAG(ENABLE_EXTENSIONS)
- AddNotificationHandler(NotificationCommon::EXTENSION,
- base::MakeUnique<ExtensionNotificationHandler>());
+ AddNotificationHandler(
+ NotificationCommon::EXTENSION,
+ base::MakeUnique<extensions::ExtensionNotificationHandler>());
#endif
}

Powered by Google App Engine
This is Rietveld 408576698