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

Unified Diff: ui/message_center/cocoa/tray_view_controller_unittest.mm

Issue 15582004: Move NotificationDelegate into message_center. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Some more cosmetic fixes. 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: ui/message_center/cocoa/tray_view_controller_unittest.mm
diff --git a/ui/message_center/cocoa/tray_view_controller_unittest.mm b/ui/message_center/cocoa/tray_view_controller_unittest.mm
index fbbcfbe566d68eb3bab816875871ad15f531d4f3..526df97fe0d36aa851d9670a77d35b553e227eeb 100644
--- a/ui/message_center/cocoa/tray_view_controller_unittest.mm
+++ b/ui/message_center/cocoa/tray_view_controller_unittest.mm
@@ -42,6 +42,7 @@ TEST_F(TrayViewControllerTest, AddRemoveOne) {
ASCIIToUTF16("This is a simple test."),
string16(),
std::string(),
+ NULL,
NULL);
[tray_ onMessageCenterTrayChanged];
ASSERT_EQ(1u, [[view subviews] count]);
@@ -71,6 +72,7 @@ TEST_F(TrayViewControllerTest, AddThreeClearAll) {
ASCIIToUTF16("This is a simple test."),
string16(),
std::string(),
+ NULL,
NULL);
center_->AddNotification(message_center::NOTIFICATION_TYPE_SIMPLE,
"2",
@@ -78,6 +80,7 @@ TEST_F(TrayViewControllerTest, AddThreeClearAll) {
ASCIIToUTF16("This is a simple test."),
string16(),
std::string(),
+ NULL,
NULL);
center_->AddNotification(message_center::NOTIFICATION_TYPE_SIMPLE,
"3",
@@ -85,6 +88,7 @@ TEST_F(TrayViewControllerTest, AddThreeClearAll) {
ASCIIToUTF16("This is a simple test."),
string16(),
std::string(),
+ NULL,
NULL);
[tray_ onMessageCenterTrayChanged];
ASSERT_EQ(3u, [[view subviews] count]);

Powered by Google App Engine
This is Rietveld 408576698