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

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

Issue 264123002: Google Now Message Center Stats (Closed) Base URL: svn://svn.chromium.org/chrome/trunk/src
Patch Set: Rename Created 6 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/message_center_notifications_unittest_win.cc
diff --git a/chrome/browser/notifications/message_center_notifications_unittest_win.cc b/chrome/browser/notifications/message_center_notifications_unittest_win.cc
index 86b19ed6864030eea14a73c6dc0cc346cca565ee..acb0a44de08f84ea3f20f837964e85e3eab277a7 100644
--- a/chrome/browser/notifications/message_center_notifications_unittest_win.cc
+++ b/chrome/browser/notifications/message_center_notifications_unittest_win.cc
@@ -105,7 +105,8 @@ TEST_F(MessageCenterNotificationManagerTest, SetupNotificationManager) {
TEST_F(MessageCenterNotificationManagerTest, FirstRunShown) {
TestingProfile profile;
notification_manager()->Add(GetANotification("test"), &profile);
- message_center()->DisplayedNotification("test");
+ message_center()->DisplayedNotification(
+ "test", message_center::DISPLAY_SOURCE_MESSAGE_CENTER);
message_center()->MarkSinglePopupAsShown("test", false);
run_loop()->Run();
@@ -119,7 +120,8 @@ TEST_F(MessageCenterNotificationManagerTest,
FirstRunNotShownWithPopupsVisible) {
TestingProfile profile;
notification_manager()->Add(GetANotification("test"), &profile);
- message_center()->DisplayedNotification("test");
+ message_center()->DisplayedNotification(
+ "test", message_center::DISPLAY_SOURCE_MESSAGE_CENTER);
run_loop()->RunUntilIdle();
EXPECT_FALSE(delegate()->displayed_first_run_balloon());
EXPECT_FALSE(notification_manager()->FirstRunTimerIsActive());

Powered by Google App Engine
This is Rietveld 408576698