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

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

Issue 2703213004: Migrate extension notifications to the new NotificationDisplayService (Closed)
Patch Set: Finish functionality Created 3 years, 10 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/platform_notification_service_unittest.cc
diff --git a/chrome/browser/notifications/platform_notification_service_unittest.cc b/chrome/browser/notifications/platform_notification_service_unittest.cc
index 8ca62641ad7d84271c4596ecd3745cda9258a478..800531c849584ce1cfc3229d8dc0d941e7cc7627 100644
--- a/chrome/browser/notifications/platform_notification_service_unittest.cc
+++ b/chrome/browser/notifications/platform_notification_service_unittest.cc
@@ -96,6 +96,8 @@ class PlatformNotificationServiceTest : public testing::Test {
std::unique_ptr<NotificationPlatformBridge> notification_bridge =
base::MakeUnique<StubNotificationPlatformBridge>();
+ // TODO(peter): These tests should use the NotificationDisplayService, which
Miguel Garcia 2017/02/21 10:56:44 I'd like to discuss this offline (and will not blo
Peter Beverloo 2017/02/21 17:23:50 Sure. In my mind, NotificationDisplayService will
+ // will allow the StubNotificationPlatformBridge to be removed.
TestingBrowserProcess::GetGlobal()->SetNotificationUIManager(
std::move(ui_manager));
TestingBrowserProcess::GetGlobal()->SetNotificationPlatformBridge(

Powered by Google App Engine
This is Rietveld 408576698