Index: chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc |
diff --git a/chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc b/chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc |
index 2fc4db797820039c946416bdfc0c790f6dc6dac5..79f5aef0868e67513f571fbff36fdf53599a429b 100644 |
--- a/chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc |
+++ b/chrome/browser/notifications/sync_notifier/chrome_notifier_service_unittest.cc |
@@ -8,6 +8,7 @@ |
#include "base/utf_string_conversions.h" |
#include "base/values.h" |
#include "chrome/browser/notifications/notification.h" |
+#include "chrome/browser/notifications/notification_test_util.h" |
#include "chrome/browser/notifications/notification_ui_manager.h" |
#include "chrome/browser/notifications/sync_notifier/chrome_notifier_service.h" |
#include "chrome/browser/notifications/sync_notifier/synced_notification.h" |
@@ -114,8 +115,12 @@ std::string GetNotificationId(const SyncData& sync_data) { |
// Stub out the NotificationUIManager for unit testing. |
class StubNotificationUIManager : public NotificationUIManager { |
public: |
- StubNotificationUIManager() : notification_(GURL(), GURL(), string16(), |
- string16(), NULL) {} |
+ StubNotificationUIManager() |
+ : notification_(GURL(), |
+ GURL(), |
+ string16(), |
+ string16(), |
+ new MockNotificationDelegate("stub")) {} |
virtual ~StubNotificationUIManager() {} |
// Adds a notification to be displayed. Virtual for unit test override. |