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

Unified Diff: ash/system/web_notification/web_notification_tray_unittest.cc

Issue 15582004: Move NotificationDelegate into message_center. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Fix the ever-changing Mac unit tests. Created 7 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: ash/system/web_notification/web_notification_tray_unittest.cc
diff --git a/ash/system/web_notification/web_notification_tray_unittest.cc b/ash/system/web_notification/web_notification_tray_unittest.cc
index 69b988e9b0e89e304b5494468a840f127585efe7..e144fe999ff46d81ff614d9b6e05f83a1155d43d 100644
--- a/ash/system/web_notification/web_notification_tray_unittest.cc
+++ b/ash/system/web_notification/web_notification_tray_unittest.cc
@@ -63,15 +63,18 @@ class WebNotificationTrayTest : public test::AshTestBase {
ASCIIToUTF16("Notification message body."),
ASCIIToUTF16("www.test.org"),
"" /* extension id */,
- NULL /* optional_fields */);
+ NULL /* optional_fields */,
+ NULL /* delegate */);
}
void UpdateNotification(const std::string& old_id,
const std::string& new_id) {
GetMessageCenter()->UpdateNotification(
- old_id, new_id,
+ old_id,
+ new_id,
ASCIIToUTF16("Updated Web Notification"),
ASCIIToUTF16("Updated message body."),
+ NULL,
NULL);
}
« no previous file with comments | « ash/shell/window_type_launcher.cc ('k') | chrome/browser/notifications/message_center_notification_manager.h » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698